Scheduled tasks
Declare tasks with a schedule in app.phlo; the daemon runs tasks::run every minute and fires what is due.
Read the docs →.phlo
// declare tasks in app.phlo; the daemon runs tasks::run every minute and fires what is due
prop tasks => arr(
recurring: arr(do: 'recurring::run', daily: '07:00'),
cleanup: arr(do: 'manifest::cleanup', daily: '04:00'),
heartbeat: arr(do: 'health::ping', every: 'minute'),
)
- recurring-invoicesdaily 07:00
- cleanupdaily 04:00
- heartbeatevery 60s
