Understand the cron syntax used by schedules

Read and write a frequency in advanced mode: minute, hour, day, month, day of week.

Schedules & shared access Updated 1 min read

In advanced mode, the frequency is written in cron syntax: five fields, in this order.

Field Values Example
Minute 0 to 59 30 = at minute 30
Hour 0 to 23 4 = at 4 am
Day of month 1 to 31 1 = on the 1st of the month
Month 1 to 12 * = every month
Day of week 0 to 6 (0 = Sunday) 1 = on Mondays

The symbols

  • *: every value.
  • */5: every 5 units (every 5 minutes in the minute field).
  • 1,15: the 1st and the 15th value.
  • 1-5: from 1 to 5 (Monday to Friday in the day-of-week field).

Examples

Minute Hour Day Month Weekday Meaning
0 */6 * * * Every 6 hours
0 5 * * * Every day at 5 am
30 3 * * 0 Every Sunday at 3:30 am
*/15 * * * * Every 15 minutes

The time used is the server’s time. The schedule page shows the date of the next run: check it after each change.

Need a hand?

The Koinswift team answers 7 days a week, by ticket from your client area or on Discord.