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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
03-06-2006, 08:14 AM
|
#1
|
Member
Registered: Apr 2004
Distribution: Ubuntu Jaunty
Posts: 94
Rep:
|
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?
|
|
|
03-06-2006, 08:21 AM
|
#2
|
Senior Member
Registered: Feb 2004
Location: England
Distribution: Slackware 14.2
Posts: 1,491
Rep:
|
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...
|
|
|
03-06-2006, 09:13 AM
|
#3
|
Member
Registered: Apr 2004
Distribution: Ubuntu Jaunty
Posts: 94
Original Poster
Rep:
|
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.
|
|
|
03-06-2006, 09:29 AM
|
#4
|
Senior Member
Registered: Feb 2004
Location: England
Distribution: Slackware 14.2
Posts: 1,491
Rep:
|
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?
|
|
|
03-06-2006, 12:02 PM
|
#5
|
Member
Registered: Apr 2004
Distribution: Ubuntu Jaunty
Posts: 94
Original Poster
Rep:
|
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.
|
|
|
03-06-2006, 03:33 PM
|
#6
|
Senior Member
Registered: Feb 2004
Location: England
Distribution: Slackware 14.2
Posts: 1,491
Rep:
|
hmmm. sounds like the cron deamon was killed for some reason.... maybe you issued and errant kill command or asterix did something unexpected... 
|
|
|
All times are GMT -5. The time now is 11:54 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|