problem running cronjobs

Status
Not open for further replies.

luke83

New Member
Messages
3
Reaction score
0
Points
0
hi there,
i'm trying to run this cron:


*/5****/usr/bin/php -f /home/luke83/public_html/index.php

where - of course - luke83 is my account username and index.php is a simply test page with chmod 755

what's wrong with this?
 

Dead-i

x10Hosting Support Ninja
Community Support
Messages
6,084
Reaction score
368
Points
83
Have you tried using -q instead of -f ?
 

descalzo

Grim Squeaker
Community Support
Messages
9,373
Reaction score
326
Points
83
Code:
/usr/bin/php -q  /home/luke83/public_html/cron/cron_job.php >>/home/luke83/public_html/cron/cron_log.txt 2>&1

Is the format that I use and it works on Chopin.

Any output from cron_job.php or any error messages are logged into cron_log.txt, that way you can
1) see if the cron job is running
2) see any errors
 
Status
Not open for further replies.
Top