D
Deno

help

run code at the start of every hour

Mmostprodev9/2/2023
I would like the most performant code pls. I know I should use a loop/setTimeout (I don't actually know this) But how can I create a list of setTimeouts, and have them never stop? I should do this myself
PPugHealer9/2/2023
Did you look into a scheduling lib, like Croner? https://croner.56k.guru/usage/
Croner
Usage
Cron for JavaScript and TypeScript
Hhexagon56k9/3/2023
I totally agree with @pughealer, Croner would be a perfect fit <:party_deno:1035517691517218847>

Looking for more? Join the community!

Recommended Posts
Denoflare scheduled workersCloudflare has a cronjob feature for running workers at a scheduled time. Wrangler has a flag wranglHow to make a function whose return type is inferred to be the same as an input function'sThis is what I got so far. ```ts type Context = { abc: string, def: boolean } /* HAVE TO Tfresh.gen.ts blankhey folks. I've been using fresh for a while as a hobbist. Recently started a new project using thCan extension state have fields that require passing lifetime?It is possible to pass bounds and parameters to the extension! macro but as far as I see it doesn't Limits for background tasksI was thinking of making a filter page for users of multible game cdns, like steam, epic games, and Compiled binary from Cross-Platform CLI example will not workGoing through https://deno.com/blog/build-cross-platform-cli and running the output file, I get ```SDeno Vite App CLI doesn't match Deploy DocsI hope this is the right channel for this. (Deno team is probably already aware of this, but postingthird party module not updating / releasingDear all, I have just added a github repo , https://github.com/jonasfrey/o_file__wav, added a webhoPossible error in Deno.renameI’ve noticed that `Deno.renameˋ does not actually throw a ˋDeno.errors.AlreadyExists` on Linux and BOutgoing connection over TLS (port 465) from the deno deployment is failingI am trying to send an email via Gmail SMTP. The code is trying to connect to smtp.gmail.com on portsetting module scope variable based on module import pathI have a big utilities file with many helper functions, mostly arround html parsing. Many of which tHow to import a npm package that relies on WasmI'm trying to import `npm:@biscuit-auth/biscuit-wasm@0.4.0` and I wrote the following script: ```Typ