Appearance
742 - Cron Jobs
Scheduled task definitions. This is an example of a MAML document.
maml
{
timezone: "Europe/London"
jobs: [
{
name: "rotate-logs"
schedule: "0 0 * * *"
command: "pg_dump $DATABASE_URL"
enabled: true
}
{
name: "send-reports"
schedule: "0 2 * * 0"
command: "./bin/sync --all"
enabled: true
}
{
name: "cleanup-temp"
schedule: "0 0 * * *"
command: "node scripts/cleanup.js"
enabled: true
}
]
}