LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (http://www.linuxquestions.org/questions/programming-9/)
-   -   cron NOT running php script ??!! (http://www.linuxquestions.org/questions/programming-9/cron-not-running-php-script-279649/)

hendrixx 01-19-2005 05:31 AM

cron NOT running php script ??!!
 
Hi all,

I have a little problem with a cron job.
I have a php script wich i would like to run once every midnight at 00:05
Problem is that if i put this in with the crontab -e it does not run (correctly)
However if i use the exact same command from console logged in as the same user it runs perfectly.
Any idea's what i am missing ?

This is the command line i am using in crontab -e :

Code:

05 00 * * * /usr/local/bin/php -q /var/www/html/mohstats047/mohstats.php /var/www/html/stats/qconsole.log
I have also a little perl script scheduled at 00:06 every day wich is running fine.


.....Jimmy

acid_kewpie 01-19-2005 05:36 AM

Please do not post the same thread in more than one forum. Picking the most relevant forum and posting it once there makes it easier for other members to help you and keeps the discussion all in one place.

http://www.linuxquestions.org/rules.php


All times are GMT -5. The time now is 09:37 AM.