Module

x/kv_cron/schedule.ts

Use Deno Kv API to register cronjobs.
Latest
import * as mod from "https://dotland.deno.dev/x/kv_cron@0.0.2/schedule.ts";

Variables

JSON_SCHEDULE_FIELD_NAMES defines the JSON-serializable field names of a cron schedule.

Functions

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

fromScheduleField converts a JSON-serializable field of a cron schedule to a string cron field.

toString converts a JSON-serializable cron schedule to a string cron schedule.

Type Aliases

JSONSchedule is a JSON-serializable representation of a cron schedule.

JSONScheduleField is a possible value of a JSON-serializable field of a cron schedule.

JSONScheduleFieldName is the name of a JSON-serializable field of a cron schedule.

JSONScheduleFieldRange is a possible value of a JSON-serializable field of a cron schedule.