Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/kv_cron/schedule.ts>fromSchedule

Use Deno Kv API to register cronjobs.
Latest
function fromSchedule
import { fromSchedule } from "https://deno.land/x/kv_cron@0.0.2/schedule.ts";

fromSchedule converts a cron expression or JSON-serializable cron schedule to a Cron object.

Parameters

schedule: string | JSONSchedule