Set when a schedule runs

Set how often a schedule runs with a cron expression and a time zone, cap how many times it runs, and pause it.

Before you start

You need an active schedule. See Schedule a run.

Change when it runs

  1. In your project, change the schedule's file. schedule is the cron expression and maxRuns stops it after that many runs:
    schedules/weekday-standup.ts
    import { schedule } from "veryfront/schedule"; export default schedule({  id: "weekday-standup",  name: "Weekday stand-up",  schedule: "0 * * * *",  timezone: "UTC",  maxRuns: 5,  target: { kind: "agent", id: "stand-up-host", conversationMode: "create_new" },  agentMessage: { prompt: "Write today's stand-up questions." },});
  2. Push the project. You should now see the schedule in Orchestration > Triggers, Source-defined, with its new timing.

Try it in a sandbox

  1. Create a project

  2. Add the agent

  3. Change the schedule

  4. Push the project

  5. Check it

Try it out

Next steps