Size: 1272
Comment: added ToDo (need merge)
|
Size: 1792
Comment: added some material. not complete
|
Deletions are marked like this. | Additions are marked like this. |
Line 1: | Line 1: |
## Auto-converted by kwiki2moinmoin v2005-10-07 | #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 3: | Line 6: |
ToDo: need merge with CronAtBatchSchedulers | DebPkg:cron, DebPkg:anacron and DebPkg:at are system processes used for periodic command execution. |
Line 5: | Line 8: |
'''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. |
Line 7: | Line 10: |
'''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 9: | Line 11: |
'''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. | [[TableOfContents(2)]] |
Line 11: | Line 13: |
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. | = 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 18: | Line 22: |
and the anacron scheduled tasks in the /etc/anacrontab file: | == 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: |
Line 23: | Line 42: |
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. | = 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.
?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.
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.