Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/croner/dist/croner.js>Cron

Trigger functions or evaluate cron expressions in JavaScript or TypeScript. No dependencies. Most features. Node. Deno. Bun. Browser.
Go to Latest
function Cron
import { Cron } from "https://deno.land/x/croner@6.0.7/dist/croner.js";

Cron entrypoint

Parameters

pattern
  • Input pattern, input date, or input ISO 8601 time string
fnOrOptions1
  • Options or function to be run each iteration of pattern
fnOrOptions2
  • Options or function to be run each iteration of pattern