php script run by cron job
| From: | Merlin | Date: | Fri, 01 Oct 2004 06:18:55 +0000 |
| Subject: | php script run by cron job | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-198379@lists.php.net to get a copy of this message | ||
Hi there,
I already managed it to run a php script by cron, but now I cant remember the exact syntax. Somehow it does not work. /var/log/messages tells me that cron has called the line, but it never runs. I did try to run the line without cron and it works.
Here is the how I did it:
14 8 * * * root /usr/local/bin/php /home/www/cron/statistics.phpDoes anybody see an error in this? Thanx, Merlin PS: I also tried to run this as www but same results