1
0
Fork 0
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:
Igor Zinkovsky 2023-11-04 14:04:13 -07:00 committed by GitHub
parent e4c947dd2b
commit 1097de3e1d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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");
* });
* ```