Seriously, cron jobs not running.


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users Seriously, cron jobs not running.
# 1  
Old 09-26-2008
Seriously, cron jobs not running.

Before I get a million and one suggestions on all the things that could be wrong with my scripts - let me assure everyone that this is not the issue.

i have a RH EL ES4 server that stopped running all cron jobs except hourly, daily, weekly.

This has affected all users including root. No email is generated and messages shows absolutely nothing in regard to cron job errors. I have pulled out all the cron packages, deleted all the users cron jobs reinstalled the packages and created new jobs and still nothing.

Has anyone run across something like this before?

Although I can't pinpoint the day it stopped working, it seems like it happened just overnight. One day cron jobs were running the next day they just stopped.

Thanks -
# 2  
Old 09-26-2008
This may sound stupid but did anything involved with tzset change? TZ settings, update to /etc/localtime link - what tzfile says, etc.

cron is confused timewise.
# 3  
Old 09-26-2008
At this point nothing outside the normal sounds dumb, however timezone is still correct - I don't even get jobs to run with * * * * *
# 4  
Old 09-26-2008
nothing in /var/spool/cron/tmp, /var/adm/cron/log to give a clue?
# 5  
Old 09-26-2008
cron log:

Sep 25 21:24:38 SERV-DELL crontab[3414]: (root) REPLACE (root)
Sep 25 21:24:38 SERV-DELL crontab[3414]: (root) END EDIT (root)
Sep 25 22:01:01 SERV-DELL crond[3436]: (root) CMD (run-parts /etc/cron.hourly)
Sep 25 23:01:01 SERV-DELL crond[3440]: (root) CMD (run-parts /etc/cron.hourly)
Sep 26 00:01:01 SERV-DELL crond[3459]: (root) CMD (run-parts /etc/cron.hourly)

blah blah blah every hour

Sep 26 04:02:29 SERV-DELL anacron[3922]: Updated timestamp for job `cron.daily' to 2008-09-26
Sep 26 04:03:47 SERV-DELL /usr/bin/crontab[6629]: (root) LIST (test_user)
Sep 26 04:03:47 SERV-DELL /usr/bin/crontab[6631]: (root) REPLACE (test_user)
Sep 26 05:01:01 SERV-DELL crond[6639]: (root) CMD (run-parts /etc/cron.hourly)
Sep 26 06:01:01 SERV-DELL crond[6723]: (root) CMD (run-parts /etc/cron.hourly)

blah blah blah every hour

------------------------------------------------------

RH doesn't have a /var/spool/cron/tmp logging is done to /var/log/cron errors are logged in /var/log/messages or (suposedly) sent to the users e-mail (which in this case there are none).
# 6  
Old 09-26-2008
Something interesting....

Here is something new:

in roots mail is the Logwatch:


--------------------- Cron Begin ------------------------
**Unmatched Entries**
Sep 25 00:01:01 SERV-DELL crond[10288]: User account has expired
Sep 25 01:01:01 SERV-DELL crond[10313]: User account has expired
Sep 25 02:01:01 SERV-DELL crond[10338]: User account has expired
Sep 25 03:01:01 SERV-DELL crond[10363]: User account has expired
Sep 25 04:01:01 SERV-DELL crond[10388]: User account has expired
Sep 25 04:02:01 SERV-DELL crond[10389]: User account has expired
Sep 25 05:01:01 SERV-DELL crond[10414]: User account has expired
Sep 25 06:01:01 SERV-DELL crond[10439]: User account has expired
Sep 25 07:01:01 SERV-DELL crond[10464]: User account has expired
Sep 25 08:01:01 SERV-DELL crond[10489]: User account has expired
Sep 25 09:01:01 SERV-DELL crond[10544]: User account has expired
Sep 25 10:01:01 SERV-DELL crond[10569]: User account has expired
Sep 25 11:01:01 SERV-DELL crond[10594]: User account has expired
Sep 25 12:01:01 SERV-DELL crond[10619]: User account has expired
Sep 25 13:01:01 SERV-DELL crond[10644]: User account has expired
Sep 25 14:01:01 SERV-DELL crond[10669]: User account has expired
Sep 25 15:01:01 SERV-DELL crond[10694]: User account has expired
Sep 25 16:01:01 SERV-DELL crond[11278]: User account has expired
Sep 25 17:01:01 SERV-DELL crond[12969]: User account has expired
Sep 25 18:01:01 SERV-DELL crond[14656]: User account has expired
Sep 25 18:52:01 SERV-DELL crond[16086]: User account has expired
Sep 25 19:01:01 SERV-DELL crond[16342]: User account has expired
Sep 25 19:38:01 SERV-DELL crond[16480]: User account has expired
Sep 25 20:01:01 SERV-DELL crond[16537]: User account has expired
Sep 25 20:42:01 SERV-DELL crond[16628]: User account has expired
Sep 25 20:43:01 SERV-DELL crond[16629]: User account has expired
Sep 25 20:44:01 SERV-DELL crond[16630]: User account has expired
Sep 25 20:45:01 SERV-DELL crond[16635]: User account has expired
Sep 25 20:46:01 SERV-DELL crond[16636]: User account has expired
Sep 25 20:47:01 SERV-DELL crond[16637]: User account has expired
Sep 25 20:48:01 SERV-DELL crond[16646]: User account has expired
Sep 25 20:49:01 SERV-DELL crond[16647]: User account has expired
Sep 25 20:50:01 SERV-DELL crond[16649]: User account has expired
Sep 25 20:51:01 SERV-DELL crond[16654]: User account has expired
Sep 25 20:52:01 SERV-DELL crond[16661]: User account has expired
Sep 25 20:52:01 SERV-DELL crond[16662]: User account has expired
Sep 25 20:53:01 SERV-DELL crond[16666]: User account has expired
Sep 25 20:53:01 SERV-DELL crond[16665]: User account has expired
Sep 25 20:54:01 SERV-DELL crond[16668]: User account has expired
Sep 25 20:54:01 SERV-DELL crond[16669]: User account has expired
Sep 25 20:55:01 SERV-DELL crond[16672]: User account has expired
Sep 25 20:55:01 SERV-DELL crond[16673]: User account has expired
Sep 25 20:56:01 SERV-DELL crond[16674]: User account has expired
Sep 25 20:56:01 SERV-DELL crond[16675]: User account has expired
Sep 25 20:57:01 SERV-DELL crond[16676]: User account has expired
Sep 25 20:57:01 SERV-DELL crond[16677]: User account has expired
Sep 25 20:58:01 SERV-DELL crond[16678]: User account has expired
Sep 25 20:58:01 SERV-DELL crond[16679]: User account has expired
STARTUP (V5.0)
Sep 25 20:59:01 SERV-DELL crond[16700]: User account has expired
Sep 25 20:59:01 SERV-DELL crond[16701]: User account has expired
Sep 25 21:00:01 SERV-DELL crond[16708]: User account has expired
Sep 25 21:00:01 SERV-DELL crond[16709]: User account has expired
Sep 25 21:01:01 SERV-DELL crond[16711]: User account has expired
Sep 25 21:01:01 SERV-DELL crond[16712]: User account has expired
Sep 25 21:01:01 SERV-DELL crond[16713]: User account has expired
Sep 25 21:02:01 SERV-DELL crond[16714]: User account has expired
Sep 25 21:02:01 SERV-DELL crond[16715]: User account has expired
Sep 25 21:03:01 SERV-DELL crond[16716]: User account has expired
Sep 25 21:03:01 SERV-DELL crond[16717]: User account has expired
Sep 25 21:04:01 SERV-DELL crond[16722]: User account has expired
Sep 25 21:04:01 SERV-DELL crond[16723]: User account has expired
STARTUP (V5.0)
Sep 25 21:08:01 SERV-DELL crond[3226]: User account has expired
Sep 25 21:08:01 SERV-DELL crond[3227]: User account has expired
Sep 25 21:09:01 SERV-DELL crond[3270]: User account has expired
Sep 25 21:09:01 SERV-DELL crond[3269]: User account has expired
Sep 25 21:10:01 SERV-DELL crond[3272]: User account has expired
Sep 25 21:10:01 SERV-DELL crond[3273]: User account has expired
Sep 25 21:11:01 SERV-DELL crond[3276]: User account has expired
Sep 25 21:11:01 SERV-DELL crond[3277]: User account has expired
Sep 25 21:12:01 SERV-DELL crond[3281]: User account has expired
Sep 25 21:12:01 SERV-DELL crond[3282]: User account has expired
Sep 25 21:13:01 SERV-DELL crond[3284]: User account has expired
Sep 25 21:13:01 SERV-DELL crond[3285]: User account has expired
Sep 25 21:14:01 SERV-DELL crond[3307]: User account has expired
Sep 25 21:14:01 SERV-DELL crond[3308]: User account has expired
Sep 25 21:15:01 SERV-DELL crond[3310]: User account has expired
Sep 25 21:15:01 SERV-DELL crond[3311]: User account has expired
STARTUP (V5.0)
STARTUP (V5.0)
STARTUP (V5.0)
# 7  
Old 09-26-2008
Disregard

This must have been when I was removing the cron packages and deleting users jobs.

I assume this by the time stamp.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Cron jobs not running on time

on linux redhat, ubuntu systems, what reason would there be for a cron job not running at exactly the time it was scheduled to run, everytime? meaning, if i put something in cron to run every 120 seconds (2 minutes), why is it that some times, i find that cron would sometimes run the job a few... (1 Reply)
Discussion started by: SkySmart
1 Replies

2. Red Hat

cron jobs not running during certain window

Hi unix.com, I'm currently experiencing a problem on one of our servers at work where between the hours of approx. 1:00 AM and 2:0 AM no jobs scheduled through cron run. Now, in the cron logs I do see that all jobs are launched and I'm not seeing any errors anywhere - but - none of the jobs... (2 Replies)
Discussion started by: tunachamp
2 Replies

3. Shell Programming and Scripting

Running Cron -- same time jobs

Hi Is it possible to run different cron jobs at the same time? It appears that when I run ones at 15 min granularity that they may prevent ones running later in the day. Should crons run at same time have impact on one another? (4 Replies)
Discussion started by: rob171171
4 Replies

4. Solaris

cron jobs not running from sudo

Hi, I am logging into sun solaris unix box as asood user.Then sudo su_appssu and scheduled my cron jobs.The user appssu is there In the /etc/cron.d/cron.allow . I do not understand why the jobs are not kicking by cron. Do I need to enter directly as appssu ? Regards Megh (10 Replies)
Discussion started by: megh
10 Replies

5. Shell Programming and Scripting

Cron Jobs Still Running In Backgound

Hi guys, I've got a few cron jobs ... porblem is they are running as intended but some of them just tend to stay there in sleeping mode for quite some time ... sometimes even days ... for example when i run the ps command i can see that some are still there although the same script had run many... (6 Replies)
Discussion started by: King Nothing
6 Replies

6. OS X (Apple)

cron jobs running, but not...

I have a cron job set up to run a script on my Leopard Server every night. The job is set up as root, and when I run the script manually, it runs fine. The problem is that it is not doing anything when it runs at night. In the cron log, it says it ran, but did not output the results to the file it... (3 Replies)
Discussion started by: yodomino6
3 Replies

7. UNIX for Dummies Questions & Answers

Error while running the script through cron jobs .Please help me on this

Hi Everyone, I have written a korn shell script to shutdown my documentum docbase server and to restart it automatically on a weekly basis. My script is, When i execute this script manually, i was able to execute it successfully without any issues. I have scheduled this script in cronjob... (1 Reply)
Discussion started by: Sheethal
1 Replies

8. UNIX for Dummies Questions & Answers

How to tell which cron jobs are still running?

I have some cron jobs that are taking a might long time. That is because they are screen scrapers and I inserted an extra long pause (10 minutes between screens) to be extra polite and minimize network traffic. I was going to have them run once a day but now I'm thinking once a week. How do I... (2 Replies)
Discussion started by: siegfried
2 Replies

9. UNIX for Dummies Questions & Answers

running cron jobs

I would like to add a job using cron. I have following questions - cron jobs are launched using what login-id e.g. is the script launced using my login-id - In which directory would the cron jobs be launched ? - where do the environment variables required in the script being lauched come... (3 Replies)
Discussion started by: sharanbr
3 Replies

10. Shell Programming and Scripting

running cron jobs

Hi, I'm new to cron and I would like to know if this cron entry looks right. Every monday to friday, at 9:15 AM execute the script called done_att.sh Every monday to friday, at 3:15 PM execute the script called start_att.sh 15 09 * * /u54/jobs/done_att.sh 45 15 * *... (1 Reply)
Discussion started by: ted
1 Replies
Login or Register to Ask a Question