Scheduler

Schedule a workflow to run a new iteration in a specific time

You can use the scheduler in case you need your workflow to run at certain times or at a specific frequency. In this case set the cron expression according to your needs and the workflow will run accordingly and make new iterations.

Examples 

  • @yearly - once a year

  • @monthly - once a month

  • @weekly - once a week

  • @daily - once a day

  • 0 0 * * * * - the top of every hour of every day.

  • */10 * * * * * - every ten seconds.

  • 0 0 8-10 * * * - 8, 9 and 10 o'clock of every day.

  • 0 0 6,19 * * * - 6:00 AM and 7:00 PM every day.

  • 0 0/30 8-10 * * * - 8:00, 8:30, 9:00, 9:30, 10:00 and 10:30 every day.

  • 0 0 9-17 * * MON-FRI - on the hour nine-to-five weekdays

  • 0 0 0 25 12 ? - every Christmas Day at midnight

  • 0 0 0 L * * - last day of the month at midnight

  • 0 0 0 L-3 * * - third-to-last day of the month at midnight

  • 0 0 0 1W * * - first weekday of the month at midnight

  • 0 0 0 LW * * - last weekday of the month at midnight

  • 0 0 0 * * 5L - last Friday of the month at midnight

  • 0 0 0 * * THUL - last Thursday of the month at midnight

  • 0 0 0 ? * 5#2 - the second Friday in the month at midnight

  • 0 0 0 ? * MON#1 - the first Monday in the month at midnight

Cron is a software utility that specifies commands to run on a given schedule. This schedule is defined by a Cron pattern, which has a specific syntax that will be described in this section.

The Cron pattern consists of six space-separated fields

<second> <minute> <hour> <day of month> <month> <day of week>

Special characters

Reference

Last updated