MoinMoin Logo
  • Comments
  • Immutable Page
  • Menu
    • Navigation
    • RecentChanges
    • FindPage
    • Local Site Map
    • Help
    • HelpContents
    • HelpOnMoinWikiSyntax
    • Display
    • Attachments
    • Info
    • Raw Text
    • Print View
    • Edit
    • Load
    • Save
  • Login

Navigation

  • Start
  • Sitemap

Upload page content

You can upload content for the page named below. If you change the page name, you can also upload content for another page. If the page name is empty, we derive the page name from the file name.

File to load page content from
Page name
Comment

Revision 9 as of 2023-05-26 13:57:55
  • crontab

crontab

Cron is a time-based scheduling service in Linux / Unix-like computer operating systems.

Toggle line numbers
   1 crontab -e # edit cron for current user
   2 crontab -l # list cron for current user
   3 

Every ten minutes

Toggle line numbers
   1 */10 * * * * /path/to/command

Every hour

Toggle line numbers
   1 0 * * * * /path/to/command

Every 2 hours

Toggle line numbers
   1 0 */2 * * * /path/to/command

Once a day at midnight

Toggle line numbers
   1 0 0 * * *  /path/to/command

Once a day at eight am

Toggle line numbers
   1 0 8 * * *  /path/to/command

Annotations

Toggle line numbers
   1 # Order of crontab fields
   2 # minute        hour    mday    month   wday    command
   3 

Toggle line numbers
   1 string         meaning
   2 ------         -------
   3 @reboot        Run once, at startup.
   4 @yearly        Run once a year, "0 0 1 1 *".
   5 @annually      (same as @yearly)
   6 @monthly       Run once a month, "0 0 1 * *".
   7 @weekly        Run once a week, "0 0 * * 0".
   8 @daily         Run once a day, "0 0 * * *".
   9 @midnight      (same as @daily)
  10 @hourly        Run once an hour, "0 * * * *".
  • MoinMoin Powered
  • Python Powered
  • GPL licensed
  • Valid HTML 4.01