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.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
03-06-2006, 08:14 AM
|
#1
|
|
Member
Registered: Apr 2004
Distribution: Ubuntu Jaunty
Posts: 62
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 11, Sabayon 3.1
Posts: 1,463
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: 62
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 11, Sabayon 3.1
Posts: 1,463
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: 62
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 11, Sabayon 3.1
Posts: 1,463
Rep:
|
hmmm. sounds like the cron deamon was killed for some reason.... maybe you issued and errant kill command or asterix did something unexpected... 
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 05:52 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
|
|