Import
import {
discoverSchedules,
isScheduleDefinition,
legacyScheduleTargetDiagnostic,
schedule,
} from "veryfront/schedule";Examples
Run a workflow every weekday morning
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 },
});