MasterGberry

Member
Sep 4, 2012
8
0
1
cPanel Access Level
Website Owner
I set up a cron job back in April to backup some files to an FTP server. I recently found out that this cron job stopped working in June...it's september now, needless to say I am so thankful my server didn't crash, because all of my files were supposed to have been backed up....

I checked the processes, and crond is running, and i checked the logs for my cron job trying to be executed, and it doesn't appear that it was executed at all...my question is why?

It's set to go off at 2:15 AM everyday and execute the following command:

Code:
wget http://www.website.com/tasks/backup
(website.com is my website obviously)

I tested the wget command manually and it worked, so nothing is wrong with the php script, just for some reason the cron job stopped running...help? Thanks
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,903
2,237
463
Hello :)

Do you have this configured as a cron job under the account, or as a root cron job? Could you post the full cron job as it's configured?

Also, you may want to restart the "crond" service via:

Code:
# service crond restart
Thank you.
 

MasterGberry

Member
Sep 4, 2012
8
0
1
cPanel Access Level
Website Owner
Hi. the server has been restarted several times in the past months, so i am not so sure it's the crond service, but rather the configuration of it, since it has not worked on any of the reboots...

Here is a ss of the cron job: 7YjhgO.png

It is set up under the user account, not root.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,903
2,237
463
Hello :)

Could you submit a support ticket so we can take a closer look?

Submit A Ticket

Thank you.
 

cPanelTristan

Quality Assurance Analyst
Staff member
Oct 2, 2010
7,607
41
348
somewhere over the rainbow
cPanel Access Level
Root Administrator
What is the ticket number? To follow up, we would need the number of the ticket submitted.

As for the length of time, it depends on the day of the week and how many other tickets are in queue.