s
Nov. 29, 2023, 5:49 p.m. |

Simon Willison's Weblog simonwillison.net

Announcing Deno Cron


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

Founding AI Engineer, Agents

@ Occam AI | New York

AI Engineer Intern, Agents

@ Occam AI | US

AI Research Scientist

@ Vara | Berlin, Germany and Remote

Data Architect

@ University of Texas at Austin | Austin, TX

Data ETL Engineer

@ University of Texas at Austin | Austin, TX

Lead GNSS Data Scientist

@ Lurra Systems | Melbourne