LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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-20-2015, 11:01 PM   #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, 06:34 AM   #2
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,359

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
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, 09:33 PM   #3
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,324
Blog Entries: 28

Rep: Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142
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 09:35 PM.
 
  


Reply



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 12:51 PM
[SOLVED] cronjob is running several times project.linux.proj Linux - Newbie 2 04-01-2013 03:15 AM
cronjob not running! user1221 Linux - Newbie 6 05-26-2009 05:08 AM
script not running in cronjob dningale Solaris / OpenSolaris 2 08-14-2008 12:27 AM
script expression not running in cronjob dningale Solaris / OpenSolaris 2 08-13-2008 12:04 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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

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
Open Source Consulting | Domain Registration