Re: Changing Date Results in Cron Jobs not Running
From: Bela Lubkin (belal_at_sco.com)
Date: 10/07/03
- Next message: Bill Andersen: "RE: SCO Login Problems"
- Previous message: Bela Lubkin: "Re: SCO Login Problems"
- In reply to: Peter McGill: "Changing Date Results in Cron Jobs not Running"
- Next in thread: pamcgill_at_rogers.com: "Re: Changing Date Results in Cron Jobs not Running"
- Reply: pamcgill_at_rogers.com: "Re: Changing Date Results in Cron Jobs not Running"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 7 Oct 2003 19:30:33 GMT To: scomsc@xenitec.ca
Peter McGill wrote:
> When our company turns the year, they want me to reset the date back
> to Sep 30 each day until we have finished all accounting for that
> year. Stupid I know. (Our year is Oct 1 - Sep 30)
>
> My problem is this causes all backup and maintenance tasks scheduled
> not to run.
You can get them to run by restarting cron. To do this, as root, run:
/etc/rc2.d/P75cron stop
rm -f /usr/lib/cron/FIFO
sd cron
Whether this is actually a good idea is up to you. It will rerun Sep 30
cron jobs. If you have a rotating backup schedule (doing full backups
some days and incrementals other days) it will do whatever it was
supposed to do on Sep 30, repeatedly. Depending on how your backup
procedure works, this could be no big deal or it could be disastrous.
>Bela<
- Next message: Bill Andersen: "RE: SCO Login Problems"
- Previous message: Bela Lubkin: "Re: SCO Login Problems"
- In reply to: Peter McGill: "Changing Date Results in Cron Jobs not Running"
- Next in thread: pamcgill_at_rogers.com: "Re: Changing Date Results in Cron Jobs not Running"
- Reply: pamcgill_at_rogers.com: "Re: Changing Date Results in Cron Jobs not Running"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|