crontab

JD jd1008 at gmail.com
Sat Oct 9 19:51:15 UTC 2010


  On 10/09/2010 12:34 PM, Tom Horsley wrote:
> On Sat, 9 Oct 2010 20:12:31 +0100 (BST)
> Patrick Dupre wrote:
>
>>> The cron.daily is still there, it is just being triggered by
>>> anacron now (by default).
>> Sorry, I wanted to say hourly !
> Hmmm... Not sure, doesn't look like it is there in the
> /etc/anacrontab anymore, but I think it is still being
> run by cron and has moved from /etc/crontab to
> /etc/cron.d/0hourly
Which is as it should be. Anacron is not for hourly
because it doe snot assume the system is running
continuously. Man page says:

ANACRON(8) Anacron Users’ Manual ANACRON(8)



NAME
anacron - runs commands periodically

SYNOPSIS
anacron [-s] [-f] [-n] [-d] [-q] [-t anacrontab] [-S spooldir] [job]
anacron [-S spooldir] -u [-t anacrontab] [job]
anacron [-V|-h]
anacron -T [-t anacrontab]

DESCRIPTION
Anacron is used to execute commands periodically, with a frequency
specified in days. Unlike cron(8), it does not assume that the machine
is running continuously. Hence, it can be used on machines that aren’t
running 24 hours a day, to control regular jobs as daily, weekly, and
monthly jobs.



More information about the users mailing list