mirror of
https://github.com/denoland/deno
synced 2024-08-25 02:57:22 +00:00
![Igor Zinkovsky](/assets/img/avatar_default.png)
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`.
43 lines
842 B
Rust
43 lines
842 B
Rust
// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
|
|
|
|
pub use deno_broadcast_channel;
|
|
pub use deno_cache;
|
|
pub use deno_console;
|
|
pub use deno_core;
|
|
pub use deno_cron;
|
|
pub use deno_crypto;
|
|
pub use deno_fetch;
|
|
pub use deno_ffi;
|
|
pub use deno_fs;
|
|
pub use deno_http;
|
|
pub use deno_io;
|
|
pub use deno_kv;
|
|
pub use deno_napi;
|
|
pub use deno_net;
|
|
pub use deno_node;
|
|
pub use deno_tls;
|
|
pub use deno_url;
|
|
pub use deno_web;
|
|
pub use deno_webidl;
|
|
pub use deno_websocket;
|
|
pub use deno_webstorage;
|
|
|
|
pub mod colors;
|
|
pub mod errors;
|
|
pub mod fmt_errors;
|
|
pub mod fs_util;
|
|
pub mod inspector_server;
|
|
pub mod js;
|
|
pub mod ops;
|
|
pub mod permissions;
|
|
pub mod tokio_util;
|
|
pub mod web_worker;
|
|
pub mod worker;
|
|
|
|
mod worker_bootstrap;
|
|
pub use worker_bootstrap::BootstrapOptions;
|
|
pub use worker_bootstrap::WorkerLogLevel;
|
|
|
|
mod shared;
|
|
pub use shared::runtime;
|