FerryDocs
ConceptsJobs & cron

Schedule syntax

A schedule is a cron expression of five fields. Ferry reads it in UTC.

Edit on GitHub
┌───────────── minute        0-59
│ ┌─────────── hour          0-23
│ │ ┌───────── day of month  1-31
│ │ │ ┌─────── month         1-12
│ │ │ │ ┌───── day of week   0-7 (0 and 7 are Sunday)
│ │ │ │ │
* * * * *

A uses the standard of 5 fields. Ferry reads it in , to the minute. A * means each value.

Examples

ScheduleA run starts
*/15 * * * *each 15 minutes
0 3 * * *each day at 03:00 UTC
30 8 * * 1-5at 08:30 UTC, Monday to Friday
0 0 1 * *at midnight UTC on the first day of each month
@hourlyat minute 0 of each hour

The aliases are @yearly, @annually, @monthly, @weekly, @daily, @midnight and @hourly.

Change a schedule

Terminal
ferry update nightly --schedule "0 4 * * *"

The change applies at the next check of the .

On this page