Merlin wrote:
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
does typing in php /home/www/project/app_cron/follow_up_new_members.php > /dev/null
at the command line work for you?
Are you sure the directory permissions are correct? sometimes when you tighten security you run into situations like this.
Most likeley because the webserver root for the project is: /home/www/project/
-- Raditha Dissanayake. --------------------------------------------- http://www.raditha.com/megaupload/upload.php Sneak past the PHP file upload limits.
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php