Hello.
How do I make my cron job email me the output of the php script? (I just switched from CPanel and it seems there was an option for that, but there must be something in lynx, wget, or some unix command that will do this, no?)
Currently, I'm using:
10 5 * * * lynx -dump http://domain.com/script.php
(I used to have > dev/null on the end, but thought if I removed that I would get emails...nope).
It seems to be running (I think), but I would like to get email notices each day when it runs so I can see what was processed.
Anybody know how to do this (short of using the mail() command within my PHP script)?
Thanks.
How do I make my cron job email me the output of the php script? (I just switched from CPanel and it seems there was an option for that, but there must be something in lynx, wget, or some unix command that will do this, no?)
Currently, I'm using:
10 5 * * * lynx -dump http://domain.com/script.php
(I used to have > dev/null on the end, but thought if I removed that I would get emails...nope).
It seems to be running (I think), but I would like to get email notices each day when it runs so I can see what was processed.
Anybody know how to do this (short of using the mail() command within my PHP script)?
Thanks.