cron doesn`t works

Status
Not open for further replies.

kolanich

New Member
Messages
37
Reaction score
0
Points
0
no cron comand work
i tried

php /home/www/auto.php
php /home/auto.php
php /home/kolanich/auto.php
php /home/kolanich/public_html/auto.php

but no command works
 

DefecTalisman

Community Advocate
Community Support
Messages
4,148
Reaction score
5
Points
38
the later
Code:
php /home/kolanich/public_html/auto.php

should work if 'kolanich' is the username you use to sign into cpanel and the script to run is in the root of /public_html/. Also what is the full cron tab ?

Code:
*/5 * * * * php /home/kolanich/public_html/auto.php
would be every 5 mins
 
Last edited:

DefecTalisman

Community Advocate
Community Support
Messages
4,148
Reaction score
5
Points
38
What is the url to the script ?
Edit:
If it was as your cron states /home/kolanich/public_html/auto.php, it would be http://www.kolanich.x10hosting.com/auto.php which resovles to 404, page not found. So again I ask where is the script, what folder or what is the URL/link ?
 
Last edited:

DefecTalisman

Community Advocate
Community Support
Messages
4,148
Reaction score
5
Points
38
GMT +2, yes that was me that last hit your page I am sure. I was looking for the script you say the cron won't run. Like I said its not where your cron is pointing so where is it ?
 
Last edited:

DefecTalisman

Community Advocate
Community Support
Messages
4,148
Reaction score
5
Points
38
Which I am assuming it is as he hasn't told me his default domain. If you know otherwise then say so, don't just post some 10cent comment that is not constructive.
 
Status
Not open for further replies.
Top