Skip to content
Book a demo

Schedule tasks

Schedule an agent to fire automatically on a cron expression: every Monday at 09:00, every hour, or any standard 5-field schedule.

In the UI

In the UI

  1. Open Triggers under your project in the sidebar.

  2. Click New trigger and choose Cron.

  3. Pick the agent to run, type the prompt it should receive each fire, and set the schedule (5-field cron).

  4. Optionally set a timezone (defaults to UTC).

  5. Click Create. The trigger is enabled immediately.

Programmatically

Create a cron trigger

Terminal window
ren cron-triggers create prj_abc123 \
--project-agent-id pagt_abc123 \
--input-message "Summarize this week's activity" \
--schedule "0 9 * * MON" \
--timezone "America/New_York"

List triggers in a project

Terminal window
ren cron-triggers list prj_abc123

Update a trigger (change schedule, prompt, or toggle enabled)

Terminal window
ren cron-triggers update prj_abc123 ctrg_abc123 \
--schedule "0 */2 * * *" \
--is-enabled false

Archive a trigger (stops the schedule permanently)

Terminal window
ren cron-triggers archive prj_abc123 ctrg_abc123

The schedule uses standard 5-field cron syntax: minute hour day-of-month month day-of-week. Archiving a trigger stops it permanently.