summaryrefslogtreecommitdiff
path: root/ext/cron/interface.rs
AgeCommit message (Collapse)Author
2024-10-12refactor(ext/cron): use concrete error type (#26135)Leo Kettmeir
2024-01-01chore: update copyright to 2024 (#21753)David Sherret
2023-11-01feat(cron) implement Deno.cron() (#21019)Igor Zinkovsky
This PR adds unstable `Deno.cron` API to trigger execution of cron jobs. * State: All cron state is in memory. Cron jobs are scheduled according to the cron schedule expression and the current time. No state is persisted to disk. * Time zone: Cron expressions specify time in UTC. * Overlapping executions: not permitted. If the next scheduled execution time occurs while the same cron job is still executing, the scheduled execution is skipped. * Retries: failed jobs are automatically retried until they succeed or until retry threshold is reached. Retry policy can be optionally specified using `options.backoffSchedule`.