Name: netweb Date: April 27, 2008 at 21:45:51 Pacific Subject: Crontab Problem OS: Linux CPU/Ram: P4,512 MB Model/Manufacturer: dont know
Comment:
My problem is that whenver I get my server(Fedora) restarted,my crontab does not execute at midnight for 1 hour. This does not happend everyday,but this happens whenever I restart server irrespective of time of restart.
Hi jefro Thanks a lot for reply. In fact I am newbie to it. so instead of answering your question, I am explaining it.
I had a cron job schedule to run every 10 minute.(mailing purpose.) When I restart server, say at 9:00 AM then the job gets executed at every 10 minutes. But it stops at midmight(at 00:00 hr) for 1 hour.Then it starts executing at every 10 minutes for ever. But meanwhile (whenever - on same day,after a week,after a month ) if I restart server say at 5:00 PM then also it executes but will stop at midnight for 1 hour. It stops executing only once after restarting and then never stops,even at midnight second day onwords.
It also not depend on restarting time of server.But if you restart then it stops at mid night for one hour. I will be waiting for your reply.
Hi jefro, Thanks. As you wrote to write cron file,I inquired about it to my coligue,then I cam to know that this system cron. So I am unable to write it. But I am writing the log.
I think something stops executing cron jobs(I think so)because there is one another cron 'bwcron'(which is also system cron) runs once a day. It runs at 00:00:00 hr every day. But when this problem occurs(when server restarts),'bwcron' runs at 01:10:00 or some seconds later. But 'bwcron is always first to be executed on any date. That is all I can say. I am very thankful to you for your help.
The information on Computing.Net is the opinions of its users. Such
opinions may not be accurate and they are to be used at your own risk.
Computing.Net cannot verify the validity of the statements made on this site. Computing.Net and Computing.Net, LLC hereby disclaim all responsibility and liability for the content of Computing.Net and its accuracy.
PLEASE READ THE FULL DISCLAIMER AND LEGAL TERMS BY CLICKING HERE