Cron

Status
Not open for further replies.

garthgillman146

New Member
Messages
5
Reaction score
0
Points
0
How exactly do the Cron jobs work, I've tried to get them to work using many variations online but none of them work. What's wrong with what I'm using now???
0 * * * * php -f /home/iceman3/public_html/updatestats.php
 

descalzo

Grim Squeaker
Community Support
Messages
9,373
Reaction score
326
Points
83
Code:
/usr/bin/php /home/abc/public_html/test.php  >> /home/abc/public_html/testlog.txt 2>&1

is the format I use. That way any output (ie echo commands) or error messages will be added to a log file.
 

misson

Community Paragon
Community Support
Messages
2,572
Reaction score
72
Points
48
See the newly created cron job page in the X10 wiki for more. Feel free to contribute.
 
Status
Not open for further replies.
Top