Skip to main content

Schedules

Schedules run an agent or a workflow automatically at set times: a report every morning, a sync every hour, a clean-up every week, a check every five minutes. Nobody has to remember to start them.

Why schedules​

  • Daily reports: a summary waiting in your inbox every morning
  • Data sync: systems kept aligned every hour
  • Maintenance: weekly clean-up and housekeeping
  • Monitoring: a health check every few minutes

To react to something happening rather than to the clock, use Triggers & Events.

When a schedule runs​

A schedule's timing is a standard cron expression (minute, hour, day of month, month, day of week) in the time zone you choose. The dashboard offers presets so you rarely need to write one:

PresetExpression
Every minute* * * * *
Every 5 minutes*/5 * * * *
Every 15 minutes*/15 * * * *
Every hour0 * * * *
Every 6 hours0 */6 * * *
Daily at midnight0 0 * * *
Daily at 9 AM0 9 * * *
Weekly on Monday0 0 * * 1
Monthly on the 1st0 0 1 * *

For anything else, write your own expression. For example, 0 9 * * 1-5 runs on weekdays at 9 AM.

Time zone matters

Always pick the time zone of the people who rely on the result. A schedule without one runs on UTC, which can surprise your team.

Creating a schedule​

  1. Go to Work › Automation › Schedules.
  2. Click Create Schedule.
  3. Enter a name and a description.
  4. Choose the Target Type (Agent or Workflow) and the Target.
  5. Pick a preset or write a Cron Expression, and choose the Timezone.
  6. Optionally give the run an Input (JSON), for example the region or the report to produce.
  7. Click Create Schedule.

Or simply ask Loyd: "Every weekday at 8 AM Paris time, have the finance agent send me yesterday's cash position."

Managing schedules​

From the schedule's details you can:

  • Run Now: start a run immediately, outside the normal timing
  • Pause / Resume: stop the schedule temporarily without deleting it
  • Edit or Delete it

Each schedule shows its next run, its Statistics (runs and failures) and its Execution History, with the status, timing and any error of each run.

Best practices​

Stagger heavy schedules

Avoid starting all resource-intensive work at the same minute. Spread it over the hour.

Say what "done" means

The run's input is the agent's brief. "Summarise yesterday's closed deals for EMEA, one line per deal, in the #sales channel" gives better results than "daily report".

Check failures weekly

A schedule that fails quietly is worse than none. Glance at the execution history, or set an alert rule in Control › Analytics › Operations.


Next: Learn about Triggers & Events for event-driven agent execution.