HELP - Running PHP script via CRON job doesn't work

Status
Not open for further replies.

marquise

New Member
Messages
2
Reaction score
0
Points
0
I'm trying to run a PHP script using a cron job and it just doesn't seem to wanna run. I'm on server Lotus.x10

Using the command
php-cron /home/username/public_html/pets/pets.php

Loading the page manually, the script runs fine. It just won't run on a schedule.

Can someone pls help?

Many thanks
Mark
 

pdedecker

New Member
Messages
8
Reaction score
0
Points
0
I'm having the exact same problem. Filled in my e-mail address, set my cronjob, but nothing happens. I too am using Lotus.x10.
 

marshian

New Member
Messages
526
Reaction score
9
Points
0
try "php -q /home/username/public_html/pets/pets.php"
That worked for me on absolut
 

marquise

New Member
Messages
2
Reaction score
0
Points
0
Thanks, I have tried that as well. Strangely it worked this morning and I got the multiple cron job emails. But it has stopped working again!
 

kkenny

Active Member
Messages
1,950
Reaction score
0
Points
36
Please request help for your free hosting account in the Free Hosting forum. More sufficient help should be given in that area.
 
Status
Not open for further replies.
Top