Replies: 2 comments 3 replies
-
Add the {
"unstable": ["cron"],
} |
Beta Was this translation helpful? Give feedback.
1 reply
-
This works fine, but in vscode I still get type errors, forcing me to cast it to any: // deno-lint-ignore no-explicit-any
(Deno as any).cron("Run once a minute", "* * * * *", () => {
console.log("Hello, cron!");
}); Am I missing something or is this intended? Thank you very much :) |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
So I've tried use
Deno.cron
but running the code that calls it with 2.0.0 I get anot a function
.What catches my eye is that its here under Cloud. So I thought maybe it requires some hosting context to be available. I've tried to find any mentioning of this but there is none. So I'm now not certain what is the case.
Its neither here, nor here, nor here, nor here
Beta Was this translation helpful? Give feedback.
All reactions