Execution Modes
A connector’s execution mode decides when it publishes. You set it on the Create New Connector panel with the Execution Mode field: live or batch. Live connectors react to changes; batch connectors run on a cron schedule.
Live vs batch
Section titled “Live vs batch”| Mode | When it publishes | Best for |
|---|---|---|
| live | Immediately after any change to the source consumption entity. | Low-latency downstream systems that need current data. |
| batch | On a fixed cron schedule you define. | Periodic loads, off-peak windows, systems that expect scheduled deliveries. |
Live mode needs no schedule. Batch mode reveals the Schedule Cron field and a visual scheduler.
The batch scheduler
Section titled “The batch scheduler”When you choose batch, a scheduler renders below the mode field. You pick a Frequency and its parameters, and Nexa generates the cron expression into the read-only Schedule Cron field. A live preview shows both the raw expression and a plain-English description (for example, “Every hour at :15 past the hour”).
Cron expressions are emitted in Quartz 6-field format: second minute hour day-of-month month day-of-week.
Frequencies
Section titled “Frequencies”| Frequency | Parameters | Example expression |
|---|---|---|
| Every minute | Interval: 1, 2, 5, 10, 15, or 30 minutes | 0 */5 * * * ? |
| Hourly | Minute past the hour; interval (1–12 hours) | 0 15 * * * ? |
| Daily | Start time; every day or every weekday | 0 30 9 * * ? |
| Weekly | Start time; one or more days of the week | 0 0 10 ? * 2,4,6 |
| Monthly | Start time; day-of-month or an ordinal weekday (e.g. first Monday); every N months | 0 0 10 15 */1 ? |
Weekday-only daily
Section titled “Weekday-only daily”Choosing Daily > Every weekday produces a Monday-to-Friday schedule, for example 0 0 9 ? * MON-FRI — a 9:00 run on business days only.
Pausing and resuming
Section titled “Pausing and resuming”Execution mode is fixed at creation, but you control whether a deployed connector runs. The play/pause action on the Connectors list toggles a connector between Active (trigger unpaused) and Paused (trigger paused), for both live and batch connectors, without changing its schedule.