Skip to content

Cron and timing rules ​

Cron expressions ​

A cron expression has five fields separated by spaces:

FieldValues
Minute0–59
Hour0–23
Day of month1–31
Month1–12 or JAN–DEC
Day of week0–7 (0 and 7 are Sunday) or SUN–SAT

You can use * (any), single values, ranges (1-5), lists (1,3,5), and steps (*/30). Shortcuts: @yearly, @annually, @monthly, @weekly, @daily, @midnight, and @hourly.

Examples:

  • 0 9 * * 1-5: every weekday at 9:00.
  • 30 18 * * FRI: every Friday at 18:30.
  • 0 8 1 * *: the first day of every month at 8:00.

Rules:

  • Runs must be at least 15 minutes apart.
  • If you set both day of month and day of week, either one can match.
  • Expressions can have up to 100 characters.
  • The panel previews the next five runs.

Time zones and daylight saving ​

  • Each schedule uses its own time zone. Changing your computer's time zone doesn't move existing schedules.
  • If a time doesn't exist because of a daylight saving change, the run happens at the next valid time.
  • If a time happens twice, the schedule runs only the first time.
  • Intervals count real elapsed minutes from when the schedule was created.

Late and missed runs ​

Nimbot checks schedules when it starts and every 30 seconds, so a run can start a few seconds after the time shown.

  • A recurring run more than 10 minutes late (for example because Nimbot was off) is marked missed and is not repeated later. Use Run now if you need it.
  • A once schedule waits as long as needed and runs as soon as it can.
  • After a run starts, it may still wait behind other tasks of the same agent.

Keep your server's clock synchronized.

More internal details are in the diagnostics reference.