Hi All, I have read the manual page for 'Using PHP from the command line' thoroughly and cannot find the answer to my problem. I have a script that needs to be accessed from both the command line and from web browsers. I tested the script from the command line and all worked well. As soon as I set the script to run from the crontab, all my includes fail because of paths. I believe the manual tries to cover forcing PHP to run from an alternative location but makes no sense to me. Can anyone tell me what changes I need to make to the following crontab entry...
0 23 * * * /usr/bin/php /path/to/my/script.php arg1 arg2 arg3 > /dev/null TIA - Phil. --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.701 / Virus Database: 458 - Release Date: 07/06/2004 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php