[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: missed cron jobs



On Thu, May 15, 1997 at 04:38:11PM +0200, E.L. Meijer (Eric) wrote:
> running `find' (it's amazing, isn't it ? :).  I soon realized that this
> was cron running the cron.daily scripts.  I never thought about this
> before, but it may very well have been the first time these scripts
> were run, my computer at home is usually switched off at this time.
> Now comes my question:
> 
> Could this be harmful?
> 
> I think a lot of people using linux at home don't leave their computer
> switched on continuously.  Has anyone ever thought of a system that
> would spot missed cron events and run them at a later time?  Would this
> be useful at all?

anacron does this very nicely. From memory, when first installed
(it is available for debian) it doesn't actually do anything,
but it is easy enough to move the cron.daily, weekly, monthly
scripts to run from anacron instead of cron; then things
get run once a day only, but definatel (if the PC is used
at all that day).

Very nice.


Hamish
-- 
Hamish Moffatt, StudIEAust                    moffatt@yallara.cs.rmit.edu.au
Student, computer science & computer systems engineering.    3rd year, RMIT.
http://yallara.cs.rmit.edu.au/~moffatt (PGP key here) CPOM: [****      ] 45%


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-request@lists.debian.org . Trouble? 
e-mail to templin@bucknell.edu .


Reply to: