Scheduler adapter
A one-way receive-side adapter whose sole job is to fire on a repeating interval and publish a triggering message. The platform's single source of timing.
The Scheduler is unusual in that it does not talk to anything outside the bus. No connection, no credentials, no external payload, only a tick.
The cadence is set by two fields: a numeric Repeat Every value and a Repeat Unit picker. Every recurrence in the system is expressed this way.
The Scheduler fires when its port is started, then every Repeat Every after that. It makes no difference what starts the port: a person on the ports list, Restart, or the port’s Service Window opening. Every start begins the count again, which is also why Restart resets the timer. On its own, Repeat Every 1 with Repeat Unit Days therefore fires once a day at whatever time of day the port was last started, and that time moves every time the port is restarted.
A daily job at a chosen time comes from the port’s Service Window: the window starts the port at its Start Time, the Scheduler fires at that start, and the window closes before a second tick is due.
Keep the window narrower than one Repeat Every. Then exactly one tick lands in each opening, the one at the start.
For a job that runs each morning at six: on the Scheduler, Repeat Every 1, Repeat Unit Hours; on the port’s Service Window tab, Frequency Daily, Start Time 06:00:00 AM, Stop Time 06:00:59 AM, and the Time Zone the six o’clock is meant in. Start the port once; from then on it fires at about 06:00 each day and sits stopped the rest of the time. Weekdays only, or the first Monday of the month, is the same setup with a Weekly or Monthly window.
Repeat Every 5 Minutes and a window from 06:00:00 AM to 06:29:59 AM, the job runs six times each morning. The daily sales report tutorial builds a scheduled job on this rule.Configured on the receive port the Scheduler is bound to, under the ScheduledListenerConfig panel, in two groups, Recurrence and Message.
Repeat Unit, required; dropdown (Seconds, Minutes, Hours, Days). The unit Repeat Every is measured in.
Time Zone, required; dropdown.
Payload, optional; the body of the firing message. Leave empty for an empty body; the tick still carries the standard message envelope and can be subscribed to on Message Type alone. Up to 5,000,000 characters.
The Scheduler is the only adapter with no Authentication. There is no external endpoint to reach and no credentials to manage; the picker on the receive port is disabled when this adapter is selected.
If credentials are needed somewhere in a Scheduler-triggered flow, they belong on the downstream send port, not here.
That is the Scheduler
One-way receive, no Authentication, one place for every timer in the system. Back to Adapters.