deno/ext/cron
Igor Zinkovsky 01d3e0f317
feat(cron) implement Deno.cron() (#21019)
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`.
2023-11-01 11:57:55 -07:00
..
01_cron.ts feat(cron) implement Deno.cron() (#21019) 2023-11-01 11:57:55 -07:00
Cargo.toml feat(cron) implement Deno.cron() (#21019) 2023-11-01 11:57:55 -07:00
interface.rs feat(cron) implement Deno.cron() (#21019) 2023-11-01 11:57:55 -07:00
lib.rs feat(cron) implement Deno.cron() (#21019) 2023-11-01 11:57:55 -07:00
local.rs feat(cron) implement Deno.cron() (#21019) 2023-11-01 11:57:55 -07:00
time.rs feat(cron) implement Deno.cron() (#21019) 2023-11-01 11:57:55 -07:00