cronjobs

urgido

Verified User
Joined
Oct 28, 2008
Messages
429
Location
MX
I have the following syntax:


Code:
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
 
You need to use the complete path to php, and not just the name of the program.

Jeff
 
Ok, thank. I will try using /usr/local/bin/php -q PATH_TO_FILE

Regards
 
urgido,
so, could you run your cronjob? can you tell me how to do it exactly because I'm having problems.
Thanks
 
Back
Top