Re: Dayly cron job
What you're asking for is something that's a part of anacron, a completely
different package. cron just calls whatever when the system clock hits
the given time--if the system clock doesn't hit the time, cron doesn't do
the scheduled event. anacron will call jobs that have been missed due to
downtime. (anacron is in the main/<hardware>/admin directory)
On 18 Apr 1999, Arcady Genkin wrote:
> Hi all:
>
> I've set up a dayly cron job to run at 11 pm. It's supposed to gzip
> some files on the system.
>
> It seems like if the computer is turned off at 11 pm, the job never
> gets done. Shouldn't it run as soon as the computer is powered on in
> case that it never got to run because it was off?
>
> Thanks!
>
> p.s. Output of my crontab -l:
>
> # DO NOT EDIT THIS FILE - edit the master and reinstall.
> # (/tmp/crontab.XXXXa01994 installed on Fri Apr 16 16:31:27 1999)
> # (Cron version -- $Id: crontab.c,v 2.13 1994/01/17 03:20:37 vixie Exp $)
> 1 23 * * * gzip -r9 ~/Mail/mail/*/[0-9]*
>
> --
> Arcady Genkin
> "I opened up my wallet, and it's full of blood..." - GsYDE
>
>
> --
> Unsubscribe? mail -s unsubscribe debian-user-request@lists.debian.org < /dev/null
>
Artificial intelligence is no match for natural stupidity.
Who is John Galt? galt@inconnu.isu.edu, that's who!
Reply to: