LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   cronjob not running (https://www.linuxquestions.org/questions/linux-newbie-8/cronjob-not-running-4175554078/)

kumran 09-20-2015 11:01 PM

cronjob not running
 
Hi, appreciate if someone can help me with this problem, at my client's place, client complains that, the cronjob seems to be not running at all. but when i checked the crond status all are okay (as below)

[root@saga init.d]# ./crond status
crond (pid 6142) is running...
[root@saga init.d]# ps aux | grep -i cron | grep -v grep
root 6142 0.0 0.0 78376 1388 ? Ss Sep18 0:00 crond
[root@saga init.d]#

can i know how can to troubleshoot?

in one of the crontab list,,the database backup suppose to be running, but it is not running. when i run manually, it successfully backsup.

Advance thanks,
Kumaran

chrism01 09-21-2015 06:34 AM

Kumran - start a new thread ; this one started in 2006.

Show the crontab entries and also show the content of the scripts being called

frankbell 09-21-2015 09:33 PM

I would check the output of

Code:

crontab -e
for errors in the syntax of the cron entry.

When I've had cron jobs not work, it has always been because I botched the syntax, assuming the script I was running did work from the command line.


All times are GMT -5. The time now is 11:06 AM.