Ühel ilusal päeval [11-10-2002 20:48] kirjutas Sharat Hegde: > Hello John, > > Thanks for the help. I was able to solve this. Thanks Marek for your help > too in giving the same solution. > > The problem was with the crontab command not having the full path to php. > Silly that a command line on the shell script should work but crontab is > unable to find the same path.
This is not silly, the cron simply does not have the environment variables set. If you are using vixie cron, you can set the environment within the crontab ie: PATH=/bin:/usr/bin [EMAIL PROTECTED] * * * * * man cron Cheers, Juhan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php