Size: 1109
Comment:
|
Size: 1794
Comment: converted to 1.6 markup
|
Deletions are marked like this. | Additions are marked like this. |
Line 1: | Line 1: |
## Auto-converted by kwiki2moinmoin v2005-10-07 '''cron''', '''at''' and '''anacron''' are system processes used for periodic command execution. |
#language en ||<tablestyle="width: 100%;" style="border: 0px hidden">~-[[DebianWiki/EditorGuide#translation|Translation(s)]]: none-~||<style="text-align: right;border: 0px hidden"> (!) [[/Discussion|Discussion]]|| ---- ToDo: need merge with CronAtBatchSchedulers. Not complete |
Line 4: | Line 6: |
'''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. | DebPkg:cron, DebPkg:anacron and DebPkg:at are system processes used for periodic command execution. |
Line 6: | Line 8: |
'''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. | 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. |
Line 8: | Line 10: |
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. | <<TableOfContents(2)>> = cron = 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. |
Line 11: | Line 18: |
{{{ $ cat /etc/crontab }}} |
|
Line 12: | Line 22: |
$ cat /etc/crontab | == Editing per user crontab == |
Line 14: | Line 24: |
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. | ''to complete'' == System crontabs == * {{{/etc/crontab}}} * {{{/etc/cron.*/}}} ''to complete'' = anacron = 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. Any user may view the system's scheduled tasks by looking at the /etc/anacrontab file: {{{ $ cat /etc/anacrontab }}} = at = 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. ---- ## You can add other _helpful_ links here. ##See also: ## If this page belongs to an existing Category, add it below. ## CategorySomething | CategoryAnother |
ToDo: need merge with ?CronAtBatchSchedulers. Not complete
cron, anacron and at 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.
Contents
cron
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
Editing per user crontab
to complete
System crontabs
/etc/crontab
/etc/cron.*/
to complete
anacron
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.
Any user may view the system's scheduled tasks by looking at the /etc/anacrontab file:
$ cat /etc/anacrontab
at
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.