diff --git a/source/_posts/cron.md b/source/_posts/cron.md index 04940b3..cb427ba 100644 --- a/source/_posts/cron.md +++ b/source/_posts/cron.md @@ -51,20 +51,26 @@ Min Hour Day Mon Weekday ### Examples -| Example | Description | -| -------------- | ------------------------------------------------ | -| `*/15 * * * *` | Every 15 mins | -| `0 * * * *` | Every hour | -| `0 */2 * * *` | Every 2 hours | -| `15 2 * * *` | At 2:15AM of every day | -| `15 2 * * ?` | At 2:15AM of every day | -| `10 9 * * 5` | At 9:10AM of every Friday | -| `0 0 * * 0` | At midnight of every Sunday | -| `15 2 * * 1L` | At 2:15am on the last monday of every month | -| `15 0 * * 4#2` | At 00:15am on the second thursday of every month | -| `0 0 1 * *` | Every 1st of month (monthly) | -| `0 0 1 1 *` | Every 1st of january (yearly) | -| `@reboot` | Every reboot
_(non-standard)_ | +| Example | Description | +| -------------- |--------------------------------------------------------------------| +| `*/15 * * * *` | Every 15 mins | +| `0 * * * *` | Every hour | +| `0 */2 * * *` | Every 2 hours | +| `15 2 * * *` | At 2:15AM (of every day) | +| `15 2 * * ?` | At 2:15AM (of every day) | +| `10 9 * * 5` | At 9:10AM (of every Friday) | +| `0 0 * * 0` | At 12:00 AM, only on Sunday | +| `15 2 * * 1L` | At 2:15am on the last monday of every month | +| `15 0 * * 4#2` | At 00:15am on the second thursday of every month | +| `0 0 1 * *` | At 12:00 AM, on day 1 of the month (1st of month / monthly) | +| `0 0 1 1 *` | At 12:00 AM, on day 1 of the month, only in January (1st of month) | +| `@reboot` | Every reboot
_(non-standard)_ | + + +### Cron Generator {.col-span-3} + + + ### Special strings