Cron Jobs Not Running

Status
Not open for further replies.

harnesslive78

New Member
Messages
2
Reaction score
0
Points
0
It seems that my cron jobs have suddenly stopped working as of Sunday, and I'm not sure why. To test out the functionality, I scheduled "touch <path_to_my_root>/test.log" to run at :30 but nothing happened. I did have some issues with PHP's safe mode throwing warnings on some of my scripts (they used set_time_limit) but I can work that out.


From what I can tell, the problems seem to (or may have) coincided with the move from boru to level.
 

garrettroyce

Community Support
Community Support
Messages
5,609
Reaction score
252
Points
63
Have you tried checking the error report that should be mailed to you? It may be sent to your Linux user mailbox, which you have to check from CPanel.

As for your test, I'm not sure of the environment in which cron will be running, so try to be as verbose as possible with paths. Since you didn't post what your actual command was (which is OK), try doing something like this:

Code:
/usr/bin/touch  /home/{your user name}/test/cron.log

Make sure the permissions to the directory "test" are 777 to be sure it is not a permission error and that the file does not exist.

Sorry if these instructions are too basic for you. You seem to be pretty Linux savvy :p
 

harnesslive78

New Member
Messages
2
Reaction score
0
Points
0
Have you tried checking the error report that should be mailed to you? It may be sent to your Linux user mailbox, which you have to check from CPanel.

As for your test, I'm not sure of the environment in which cron will be running, so try to be as verbose as possible with paths. Since you didn't post what your actual command was (which is OK), try doing something like this:

Code:
/usr/bin/touch  /home/{your user name}/test/cron.log

Make sure the permissions to the directory "test" are 777 to be sure it is not a permission error and that the file does not exist.

Sorry if these instructions are too basic for you. You seem to be pretty Linux savvy :p

Just checked again. My cron jobs were wiped and my e-mail setting was reset since posting last night. I re-added my e-mail, set up a new test job, and still got nothing... the file wasn't touched, and no e-mail was received.
 

garrettroyce

Community Support
Community Support
Messages
5,609
Reaction score
252
Points
63
Just checked again. My cron jobs were wiped and my e-mail setting was reset since posting last night. I re-added my e-mail, set up a new test job, and still got nothing... the file wasn't touched, and no e-mail was received.

I am awaiting more information from the server administrators about this issue.
 

jjordan69

Member
Messages
224
Reaction score
2
Points
18
Cron (jobs) is not set-up on the 3 new free-hosting servers yet

it is on the things to-do list
 
Status
Not open for further replies.
Top