Differences between revisions 1 and 4 (spanning 3 versions)
Revision 1 as of 2004-04-11 01:32:58
Size: 1109
Editor: anonymous
Comment:
Revision 4 as of 2008-03-14 22:44:49
Size: 1272
Comment: added ToDo (need merge)
Deletions are marked like this. Additions are marked like this.
Line 2: Line 2:

ToDo: need merge with CronAtBatchSchedulers
Line 6: Line 9:
'''It's also worth mentioning DebianPackage:anacron here, as well.''' '''anacron''' allows tasks to be scheduled and performed when the system is not running 24 hours a day, 7 days a week. '''It's also worth mentioning DebPkg:anacron here, as well.''' '''anacron''' allows tasks to be scheduled and performed when the system is not running 24 hours a day, 7 days a week.
Line 11: Line 14:
{{{
 $ cat /etc/crontab
}}}
Line 12: Line 18:
$ cat /etc/crontab and the anacron scheduled tasks in the /etc/anacrontab file:
{{{
 $ cat /etc/anacrontab
}}}

ToDo: need merge with ?CronAtBatchSchedulers

cron, at and anacron are system processes used for periodic command execution.

cron and at differ in one respect. cron is based on an absolute timetable whereas at is relative. For example, a cron entry would execute a command every Thursday in February. An at entry would run a specific command exactly 23 hours and 17 minutes from now.

It's also worth mentioning anacron here, as well. anacron allows tasks to be scheduled and performed when the system is not running 24 hours a day, 7 days a week.

Debian comes with several housekeeping cron entries enabled by default. Each of these entries may be viewed by logging in as the appropriate user (likely root) and running the crontab command.

Any user may view the system's scheduled tasks by looking at the /etc/crontab file:

 $ cat /etc/crontab

and the anacron scheduled tasks in the /etc/anacrontab file:

 $ cat /etc/anacrontab

Debian does not come with any at entries enabled on a standard installation. To view any at entries that you have submitted, use the atq command.