PDA

View Full Version : cronjobs



urgido
01-13-2009, 06:22 PM
I have the following syntax:



59 23 * * * php -q /home/user/lala.php

I try to do that cronjobs executes the script lala.php at 23:59 pm every day of the year but it does not works! so I do not know if the this syntax is wrong or my cornjobs does not work.

Regards

nobaloney
01-13-2009, 07:22 PM
You need to use the complete path to php, and not just the name of the program.

Jeff

urgido
01-13-2009, 07:29 PM
Ok, thank. I will try using /usr/local/bin/php -q PATH_TO_FILE

Regards

taturossi
05-14-2009, 08:31 AM
urgido,
so, could you run your cronjob? can you tell me how to do it exactly because I'm having problems.
Thanks

urgido
05-14-2009, 06:43 PM
/usr/local/bin/php -q PATH_TO_FILE


Regards :):)