LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-21-2015, 12:01 AM   #1
kumran
LQ Newbie
 
Registered: Jul 2015
Posts: 9
Blog Entries: 1

Rep: Reputation: Disabled
Red face 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
 
Old 09-21-2015, 07:34 AM   #2
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,241

Rep: Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325
Kumran - start a new thread ; this one started in 2006.

Show the crontab entries and also show the content of the scripts being called
 
Old 09-21-2015, 10:33 PM   #3
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Debian, Mint, OpenBSD
Posts: 11,360
Blog Entries: 12

Rep: Reputation: 2740Reputation: 2740Reputation: 2740Reputation: 2740Reputation: 2740Reputation: 2740Reputation: 2740Reputation: 2740Reputation: 2740Reputation: 2740Reputation: 2740
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.

Last edited by frankbell; 09-21-2015 at 10:35 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Script not running through cronjob? NotAComputerGuy Linux - Newbie 28 07-10-2013 01:51 PM
[SOLVED] cronjob is running several times project.linux.proj Linux - Newbie 2 04-01-2013 04:15 AM
cronjob not running! user1221 Linux - Newbie 6 05-26-2009 06:08 AM
script not running in cronjob dningale Solaris / OpenSolaris 2 08-14-2008 01:27 AM
script expression not running in cronjob dningale Solaris / OpenSolaris 2 08-13-2008 01:04 AM


All times are GMT -5. The time now is 09:38 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration