Re: executing php scripts via cron
| From: | raditha dissanayake | Date: | Wed, 19 May 2004 15:40:44 +0000 |
| Subject: | Re: executing php scripts via cron | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-186540@lists.php.net to get a copy of this message | ||
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/nulldoes typing in php /home/www/project/app_cron/follow_up_new_members.php
/dev/null at the command line work for you?
Most likeley because the webserver root for the project is: /home/www/project/ Are you sure the directory permissions are correct? sometimes when you tighten security you run into situations like this.-- Raditha Dissanayake. --------------------------------------------- http://www.raditha.com/megaupload/upload.php Sneak past the PHP file upload limits.