Schedules
A schedule starts a batch by itself at set times: every night, on weekdays, or every few hours. Each time, the batch is an ordinary one, and its runs count toward your plan like any others.
Members and Admins can add and change schedules. Everyone in the organization can see them.
Add a schedule
Section titled “Add a schedule”Open Schedules in the project and choose Add schedule. The dialog asks for:
- Name.
- Selection: a tag, a folder, or every workflow in the project.
- Environment.
- Timing: how often it repeats, at what time, and in which time zone. The time zone starts as your own.
- Notifications: who to tell, and when.
Timing
Section titled “Timing”Repeats has three choices:
| Choice | Example |
|---|---|
| Every day, at a time | Every day at 06:00 |
| On chosen days, at a time | Weekdays at 07:30 |
| Every few hours, from a time | Every 6 hours from 02:30, which is 02:30, 08:30, 14:30, and 20:30 |
“Every few hours” can be every 1, 2, 3, 4, 6, 8, or 12 hours, so the times are the same every day. Once an hour is the most frequent.
Under the choices, the dialog says the timing in words and when the next batch will start.
Notifications
Section titled “Notifications”Choose which of your organization’s destinations the schedule tells, and for each one, when:
| Choice | It is told |
|---|---|
| When something stops passing, or everything passes again | Only when the news changed. This is the default, and it keeps a channel quiet while nothing changes. |
| Every time it doesn’t pass | After every batch in which a workflow did not pass or could not start. |
| Every time | After every batch, passed or not. |
An Admin adds destinations on the organization’s Notifications page. Anyone who can edit the schedule chooses among them.
The list
Section titled “The list”Each schedule is a row: its name, its selection, the environment, how it repeats, and how its last run went:
- Passed, Failed, or Incomplete, with when, linking to that batch.
- Started a batch, while it is still running.
- Skipped, when the last batch was still running.
- Not started, with the reason on a line under it.
Choose a schedule’s name to edit it. The dialog also has See its batches, Pause or Resume, and Delete schedule. Deleting a schedule keeps the batches it started.
When a time does not start a batch
Section titled “When a time does not start a batch”Skipped. If the schedule’s last batch is still running when the next time comes, that time is skipped. Batches from one schedule never pile up. A destination told Every time hears about a skipped time; the others do not.
Not started. The schedule records why, in a sentence, and stays on. The usual reasons:
- A run limit of your plan had no room for the batch.
- The selection holds no workflows, or none that can run.
- The tag, folder, or environment it names was deleted. Edit the schedule and choose another.
A destination hears about a batch that did not start once, when the reason is new, not at every time after. A destination told Every time hears each time.
Missed. If Belay itself was unavailable at a schedule’s time, the schedule starts one batch when Belay is back, however many times were missed, and then carries on from there. Missed times are not made up one by one.
Pause and resume
Section titled “Pause and resume”A paused schedule starts nothing. When you resume it, it waits for its next time; it does not start a batch at once for the times it was paused over.
Clock changes
Section titled “Clock changes”A schedule that runs every day, or on chosen days, keeps its time in its own time zone through daylight-saving changes. A time the clocks skip in spring starts once, when the clocks jump. A time that happens twice in autumn starts once.
Starting one now
Section titled “Starting one now”A schedule has no “run now”. To run the same workflows at once, start a batch with the same selection and environment.