Run Schedule

Overview

It's possible to pre-define schedules for Monitor Runs. The setting is available in the Monitor Wizard during the Monitor creation process and can be revisited anytime.

How to

Modes

Run Schedules can be defined in two ways:

  • Standard: For simple schedule frequencies, such as daily, hourly or weekly.
  • Cron Expression: For complex schedules with the full power of cron.

Each of these options allows the selection of a Timezone to specify which timezones the times selected belong in.

Standard Options

  • Hourly: "At minute 0" each hour
  • Daily: At a specified hour each day
  • Weekly: At a specified hour on a specific day each week

Cron expressions

If you need more flexibility on when your monitors should run - for example, scheduling your monitors to run on a specific hour or weekdays only - you can create a new schedule with Cron Expressions.

As Code

Params

These parameters belong in the root of the monitor definition and not in the params.

schedule: The cron schedule for the monitor. Alternatively you can use @daily, @weekly, @hourly for some quick and easy scheduling

scheduleTimezone: The Timezone for the schedule. i.e. Europe/Paris

kind: Monitor
version: 1
name: Unique Monitor
schedule: '@daily'
scheduleTimezone: Europe/Paris