FerryDocs
ConceptsServices

Cron jobs

A cron job is a command that runs on a schedule, then exits.

Edit on GitHub

Deploy. The deploy builds or pulls the image. It starts no container.

1 / 5

A has no instance that runs all the time. Each run is a new .

Create a cron job

Terminal
ferry create nightly --type cron --image busybox:stable --schedule "0 3 * * *" --start-cmd 'echo hello'
ferry run nightly --follow

ferry run <name> starts a run immediately.

The schedule

The is a of 5 fields: minute hour day-of-month month day-of-week. An alias such as @daily or @hourly is also correct.

The schedule is in UTC

Ferry reads the schedule in , not in your local time.

On this page