Cron
Standard cron expressions run agents on a recurring schedule for automated reports, monitoring, and periodic tasks.
On this page
Setup Instructions
Create the connector
Open the agent, click Add inbound connector in the Connector Flow, then Create New Connector and select Cron Scheduler.
Set the schedule
Enter a cron expression (e.g.
0 9 * * 1-5for weekdays at 9 AM).Optionally set a prompt and click Create
The prompt appears in the scheduled run payload. Cron schedules are evaluated in UTC, so convert local schedules to UTC before creating the connector.
How Cron Works
Cron connectors trigger linked agents on the configured schedule. When the scheduled time arrives, Connic dispatches a run to all agents linked to the connector.
Schedule
The schedule uses standard cron expression format with 5 fields:
┌───────────── minute (0 - 59)
│ ┌───────────── hour (0 - 23)
│ │ ┌───────────── day of month (1 - 31)
│ │ │ ┌───────────── month (1 - 12)
│ │ │ │ ┌───────────── day of week (0 - 6) (Sunday = 0)
│ │ │ │ │
* * * * *Common Schedules
0 * * * *Every hour0 0 * * *Every day at midnight0 9 * * 1-5Weekdays at 9 AM0 0 * * 0Every Sunday at midnight*/15 * * * *Every 15 minutes0 0 1 * *First of every monthMore Examples
# Every day at midnight
0 0 * * *
# Every hour
0 * * * *
# Every Monday at 9 AM
0 9 * * 1
# Every weekday at 9 AM
0 9 * * 1-5
# Every 15 minutes
*/15 * * * *
# First day of every month at midnight
0 0 1 * *Prompt (Optional)
Optionally configure a prompt that's included in the payload sent to the linked agent on each scheduled run. For example: "Generate the daily sales report for yesterday".
Payload Format
{
"trigger": "cron",
"schedule": "0 9 * * 1-5",
"triggered_at": "2024-01-15T09:00:00.000Z",
"prompt": "Generate the daily report"
}Includes trigger ("cron"), schedule, triggered_at (ISO timestamp), and the optional configured prompt.