Hi there,
I am trying to run a php script via cron. Problem is, that it does not work if I include the whole path in crontab
Currently it looks like: 0 6 * * * php /home/www/project/app_cron/follow_up_new_members.php > /dev/null
Most likeley because the webserver root for the project is: /home/www/project/
So if I go into this dir and execute: php app_cron/follow_up_new_members.php
it workes. But not with the full path. What do I have to enter into crontab? It obviosly does not work with the full path, but how to change into the directory via cron first?
Thank you for any help,
Merlin
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php