Scheduling

Users can schedule jobs with the every key when defining jobs. There are two valid syntaxes: cron-like format and human-readable.

Scheduling a job with cron-like format

myjob:
script: backup.sh
every: "0 1 * * *"

This will run myjob every day at 1am.

Scheduling a job with human-readable format

myjob:
script: backup.sh
every: 6h

This will run myjob every 6 hours. The first execution will happen in the following 6 hours. Possible other modifiers are s (seconds), m(minutes) and d (days).