Import
TypeScript
import { discoverSchedules, isScheduleDefinition, legacyScheduleTargetDiagnostic, schedule,} from "veryfront/schedule";Examples
Run a workflow every weekday morning
TypeScript
import { schedule } from "veryfront/schedule"; export default schedule({ id: "daily-support-triage", schedule: "0 9 * * 1-5", timezone: "Europe/Stockholm", target: { kind: "workflow", id: "escalate-ticket" }, input: { severity: "high" }, health: { maxStalenessSeconds: 1800 },});