all AI news
Announcing Deno Cron
Simon Willison's Weblog simonwillison.net
Scheduling tasks in deployed applications is surprisingly difficult. Deno clearly understand this, and they've added a new Deno.cron(name, cron_definition, callback) mechanism for running a JavaScript function every X minutes/hours/etc.
As with several other recent Deno features, there are two versions of the implementation. The first is an in-memory implementation in the Deno open source binary, while the second is a much more robust closed-source implementation that runs in Deno Deploy:
"When a new production deployment of your …
applications binary callback cron deno etc every features function implementation in-memory javascript memory open source running scheduling tasks versions