Skip to content

Commit

Permalink
fix(cron): update Deno.cron doc example (denoland#21078)
Browse files Browse the repository at this point in the history
Signed-off-by: Igor Zinkovsky <[email protected]>
  • Loading branch information
Igor Zinkovsky authored Nov 4, 2023
1 parent e4c947d commit 1097de3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/tsc/dts/lib.deno.unstable.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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");
* });
* ```
Expand Down

0 comments on commit 1097de3

Please sign in to comment.