0 3 1 * * /var/www/crons/monthly_billing.php 2>&1
Also anyone see any problems with it?
|
|
|
|||
|
|
|
You might need to add the path to where php is running
Also where are you planning on sending the output result to the users local email address (e.g. jbloggs@localhost) which it would be doing at the moment or are you after redirecting it, into a log file. NOTE: dont copy paste the example i have given here you might need to confirm the location of where the php binary file is on your server |
|||
|
|
|
Also, following on Pauls notation regarding output result. If you don't want any output (discard all output, both stdout and stderr) try:
|
|||
|
|