Cron Not Running

Status
Not open for further replies.

TechAsh

Retired
Messages
5,853
Reaction score
7
Points
38
My cron jobs don't seem to be being run.

0 4 * * * cd /home/techash/backups/mysql ; php -q run_familywebsite.php
0 4 * * * cd /home/techash/backups/mysql ; php -q run_earthtime.php

These scripts are suposed to create a backups of my databases then e-mail it to me. But the last time they ran was the 24th Janurary, and that time they worked perfectly.

Please Help.
 

TechAsh

Retired
Messages
5,853
Reaction score
7
Points
38
Please can someone help. My cron jobs are still not being run!!
 

TechAsh

Retired
Messages
5,853
Reaction score
7
Points
38
I have changed the commands to:
php -q /home/techash/backups/mysql/run_familywebsite.php
php -q /home/techash/backups/mysql/run_earthtime.php

But it still doesn't seem to run.
 

Chris73

New Member
Messages
5,356
Reaction score
1
Points
0
I had Corey test your cron via SSH. He said there is an error in your script. He said he tried to run it and it did not save a backup.
 

TechAsh

Retired
Messages
5,853
Reaction score
7
Points
38
I'll try running it manually and see if I can find an error.

EDIT: Found it. There was an extra '.' in one of the files. It should work now.

I need to wait untill tomorrow to check if it works 100% but I think it should.
 
Last edited:
Status
Not open for further replies.
Top