mirror of
https://github.com/denoland/deno.git
synced 2024-12-23 15:49:44 -05:00
fix(cron): update Deno.cron doc example (#21078)
Signed-off-by: Igor Zinkovsky <igor@deno.com>
This commit is contained in:
parent
e4c947dd2b
commit
1097de3e1d
1 changed files with 1 additions and 1 deletions
2
cli/tsc/dts/lib.deno.unstable.d.ts
vendored
2
cli/tsc/dts/lib.deno.unstable.d.ts
vendored
|
@ -1323,7 +1323,7 @@ declare namespace Deno {
|
|||
* callback based on the specified schedule.
|
||||
*
|
||||
* ```ts
|
||||
* Deno.cron("sample cron", "*\/20 * * * *", () => {
|
||||
* Deno.cron("sample cron", "20 * * * *", () => {
|
||||
* console.log("cron job executed");
|
||||
* });
|
||||
* ```
|
||||
|
|
Loading…
Reference in a new issue