* and then Merlin declared.... > 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.php
No, but then im no cron expert either ;-) Whenever i need to do a cron job i refer to this: http://www.tech-geeks.org/contrib/mdrone/cron&crontab-howto.htm If the crontab line is executing but the script aint running try this: 14 8 * * * root php -q /home/www/cron/statistics.php -- Nick W -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php