LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 03-06-2006, 08:14 AM   #1
dcroxton
Member
 
Registered: Apr 2004
Distribution: Ubuntu Jaunty
Posts: 62

Rep: Reputation: 16
One user's cron jobs not running


I run a cron job that downloads my Yahoo mail every hour from 8 a.m. to 10 p.m. via the fetchyahoo program. This has been running without problems for over a year now, but suddenly in the past few days it has stopped. I was getting emailed reports each time it ran; now I get nothing. Other cron jobs continue to execute normally (root jobs, mailman). There is no record of errors in any of the cron logs (actually, all of them are empty except for one of them, I think cron.info). I tried changing the user's crontab file and saving it, but, even though it said it was reloading it, nothing changed.

Can anyone give me an idea of how to debug this problem? Where can I look to find out why the cron job is not running?
 
Old 03-06-2006, 08:21 AM   #2
satinet
Senior Member
 
Registered: Feb 2004
Location: England
Distribution: Slackware 11, Sabayon 3.1
Posts: 1,464

Rep: Reputation: 46
my 1st step would be to set up a new cron job for that user that does something like email your root user or create a file every minute - this way you can verify whether cron is your problem...
 
Old 03-06-2006, 09:13 AM   #3
dcroxton
Member
 
Registered: Apr 2004
Distribution: Ubuntu Jaunty
Posts: 62

Original Poster
Rep: Reputation: 16
Thanks for your quick response. It turned out that cron was not running. I'm not sure how this was possible, since jobs in cron.daily were still getting processed; but when I ran /etc/init.d/cron start, it didn't tell me that it was already running, and now the job is working again. I'm also not sure how it ever got stopped, but that's less of a concern.
 
Old 03-06-2006, 09:29 AM   #4
satinet
Senior Member
 
Registered: Feb 2004
Location: England
Distribution: Slackware 11, Sabayon 3.1
Posts: 1,464

Rep: Reputation: 46
have you done any upgrade's recently??
i don't know Xandros, but i would suggest, checking your /etc/rc2.d (rc3.d etc) for a link to wherever xandros' init.d is....

do you not normally reboot?
 
Old 03-06-2006, 12:02 PM   #5
dcroxton
Member
 
Registered: Apr 2004
Distribution: Ubuntu Jaunty
Posts: 62

Original Poster
Rep: Reputation: 16
This computer has been up for over 200 days straight now -- something of an accomplishment for me, who am not a Linux guru by any means. I recently installed Asterisk, and I have been playing around with it, so perhaps I screwed something up in the process.
 
Old 03-06-2006, 03:33 PM   #6
satinet
Senior Member
 
Registered: Feb 2004
Location: England
Distribution: Slackware 11, Sabayon 3.1
Posts: 1,464

Rep: Reputation: 46
hmmm. sounds like the cron deamon was killed for some reason.... maybe you issued and errant kill command or asterix did something unexpected...
 
  


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
Cron Jobs christo512 Linux - Software 1 02-09-2006 09:19 AM
shutdown only if no cron jobs are running Red Squirrel Linux - Software 4 08-31-2005 01:00 PM
SUID problem running cron jobs? mitchloft Fedora 4 03-24-2005 12:30 PM
cron jobs not running scarr3d Linux - Software 7 05-25-2004 04:21 PM
cron jobs Zyanid Linux - Software 0 08-27-2002 05:10 AM


All times are GMT -5. The time now is 05:11 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration