Skip to main content
connic
Connectors

Cron

Run agents on a recurring schedule, in the time zone you choose.

Last updated
ModesInbound
YAML typecron
CredentialsNone
BridgeNot supported
Custom domainNot supported
Linked agentsOne or more. Each scheduled time starts every linked agent.
While pausedNo scheduled runs start. Times that pass during the pause aren't made up.

Set up

  1. Open the agent. In Connector Flow, click Add inbound connector, then Create New Connector, and select Scheduler (Cron).

  2. Enter the Schedule, for example 0 9 * * 1-5 for weekdays at 9:00. The field describes the expression in words. Select the Timezone, UTC by default. Text in Prompt (Optional) is added to the input of every run.

  3. Click Create. The linked agent runs at the next time that matches the schedule.

In code

Declare the schedule in connectors/*.yaml. Quote the cron expression: YAML doesn't accept a value that starts with * without quotes.

connectors/daily-sales-report.yaml
type: cron
config:
  schedule: "0 9 * * 1-5"
  timezone: Europe/Berlin
  prompt: Generate the daily sales report for yesterday.
agents:
  - sales-reporter

Configuration

The fields of a cron connector, the same in connectors/*.yaml, the REST API, and connic MCP. The descriptions name the matching setting in the dashboard. Connectors in code describes the fields every connector shares, such as agents and environments.

FieldTypeStatusDescription
typestringRequiredcron.
configobjectRequiredSchedule settings.
schedulestringRequiredCron expression with five fields, or a macro such as @daily; see Schedule. connic rejects an invalid expression, including one with six or seven fields. Dashboard: Schedule.
timezonestringOptionalIANA time zone the schedule runs in, such as Europe/Berlin. connic rejects unknown names. Dashboard: Timezone.Default: UTC
promptstringOptionalText added to the input of every run as prompt. Dashboard: Prompt (Optional).

Schedule

A schedule is a standard cron expression with five fields:

Cron format
┌───────────── minute (0 - 59)
│ ┌───────────── hour (0 - 23)
│ │ ┌───────────── day of month (1 - 31)
│ │ │ ┌───────────── month (1 - 12)
│ │ │ │ ┌───────────── day of week (0 - 6) (Sunday = 0)
│ │ │ │ │
* * * * *
ExpressionRuns
*/15 * * * *Every 15 minutes
0 * * * *Every hour
0 0 * * *Every day at midnight
0 9 * * 1-5Weekdays at 9:00
0 9 * * 1Mondays at 9:00
0 0 * * 0Sundays at midnight
0 0 1 * *The first day of every month at midnight

Instead of five fields, a schedule can be one of the macros @hourly, @daily, @midnight, @weekly, @monthly, @yearly, or @annually. Expressions with a sixth or seventh field for seconds or years are rejected.

Time zones

The schedule runs in the connector's timezone. connic handles daylight saving time: 0 7 * * * in Europe/Berlin runs at 7:00 local time all year. When clocks go forward, times that don't exist that day run once, at the first minute after the change. When clocks go back, a repeated time runs once, while schedules with * in the hour field keep running every hour. triggered_at in the agent input stays in UTC.

Agent input

At each scheduled time, every linked agent gets a run with this input:

payload.json
{
  "trigger": "cron",
  "schedule": "0 9 * * 1-5",
  "triggered_at": "2026-01-15T08:00:00+00:00",
  "prompt": "Generate the daily sales report for yesterday."
}

triggered_at is the scheduled minute in UTC, as an ISO 8601 timestamp. prompt is included only when the connector has one. The model receives the input as JSON text, and middleware reads it as context["payload"].

Limits and errors

SituationBehavior
Shortest intervalOne minute. connic checks schedules at the start of every minute.
Invalid expression or time zoneconnic rejects the change in the dashboard, the REST API, and connic MCP. In a connector file, connic lint rejects an expression without exactly five fields or a macro, and any other invalid expression or time zone fails the deploy before the build starts.
No linked agentsThe schedule doesn't run.
A run can't be startedThe connector run is marked as failed. connic doesn't retry it; the next scheduled time runs as usual.