Skip to content

Instantly share code, notes, and snippets.

@FelDev
Created August 16, 2019 17:19
Show Gist options
  • Save FelDev/1e69d4950e5254871a5eb819213ac6cb to your computer and use it in GitHub Desktop.
Save FelDev/1e69d4950e5254871a5eb819213ac6cb to your computer and use it in GitHub Desktop.
A description of how Cron Jobs work
* * * * * command to execute
│ │ │ │ │
│ │ │ │ └─── day of week (0 - 6) (0 to 6 are Sunday to Saturday, or use names; 7 is Sunday, the same as 0)
│ │ │ └──────── month (1 - 12)
│ │ └───────────── day of month (1 - 31)
│ └────────────────── hour (0 - 23)
└─────────────────────── min (0 - 59)
// Took this from Ole Michelsen
// https://ole.michelsen.dk/blog/schedule-jobs-with-crontab-on-mac-osx.html
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment