Skip to main content

Schedules

A job runs on its own schedule — a cron expression and a timezone — and on the schedules of its presets. A job without any schedule runs only when someone clicks Run.


Cron in Nomaflow​

A schedule has five fields:

┌──── minute (0-59)
│ ┌── hour (0-23)
│ │ ┌── day of month (1-31)
│ │ │ ┌── month (1-12)
│ │ │ │ ┌── day of week (mon-sun)
0 2 * * *
OperatorMeaningExample
*every value* * * * * — every minute
,a list0 6,12,18 * * * — at 06:00, 12:00 and 18:00
-a range0 9 * * mon-fri — weekdays at 09:00
/a step*/10 * * * * — every 10 minutes
Write the days of the week as names

The scheduler numbers the days of the week from 0 = Monday to 6 = Sunday — not like Unix cron, where 0 is Sunday. 0 9 * * 1 runs on Tuesday. Write mon, tue… sun (mon-fri, sat,sun): the names leave no doubt, and the preview under the field confirms the days.

When both the day of the month and the day of the week are set, both must match: 0 9 15 * mon runs on a 15th that falls on a Monday.

NeedCron
Every 5 minutes*/5 * * * *
Every hour at :1515 * * * *
Every day at 02:000 2 * * *
Weekdays at 09:000 9 * * mon-fri
Every Monday at 06:000 6 * * mon
The 1st of every month at 07:000 7 1 * *
Every quarter (1st of Jan, Apr, Jul, Oct) at 03:000 3 1 1,4,7,10 *

In the job editor​

The Schedule (cron) field of the job editor says the schedule in words: first how often, then only the fields that choice needs. The editor saves the matching cron expression.

How oftenThenSaved as
Only when started by handNothing: No schedule — this job only runs when triggered manually.no schedule
Every few minutesEvery N minutes (1 to 59).*/15 * * * *
Every hour, or every few hoursEvery N hour(s), at M minutes past the hour.0 */2 * * *
On chosen days, at a set timeat a time, then the days of the week as buttons, Monday to Sunday — No day picked: every day.0 2 * * *
Once a monthon day N at a time.0 7 1 * *
Something else (typed)The cron expression itself — lists of hours, ranges, months: see above.as typed

A schedule saved earlier opens on the choice that says it (30 2 * * * opens as On chosen days, at a set time, 02:30, no day picked); one that no choice says opens as Something else (typed). Under the fields, the schedule is said back in words — every day at 02:00, every 15 minutes — and Next runs lists the next five runs in the job's timezone; it is recomputed shortly after each change, and an invalid expression is reported there.

Timezone is picked in the list of time zones (Europe/Paris, America/New_York). The schedule is evaluated in that timezone, daylight saving time included: 0 2 * * * in Europe/Paris runs at 02:00 Paris time all year round.


The Schedule view​

Operations → Schedule, in the Nomaflow menu, shows what runs when, day by day.

▦ScheduleWhat runs when, day by day6in the next 24 h9active schedules2switched off14by hand only↻ ReloadUPCOMING (5)Today14:00crm-hourly-refreshevery hour at :000 ∗ ∗ ∗ ∗in 1hSUCCEEDEDTomorrow02:00crm-daily-syncevery day at 02:000 2 ∗ ∗ ∗in 13hSUCCEEDED06:00sales-loadStoresevery day at 06:000 6 ∗ ∗ ∗in 17hSUCCEEDED08:00crm-stalled-dealsMonday to Friday at 08:000 8 ∗ ∗ mon-friin 19hFAILEDSCHEDULED BUT SWITCHED OFF (2)—crm-archiveon day 1 of each month at 06:000 6 1 ∗ ∗disabled——ldap-importevery 15 minutes∗/15 ∗ ∗ ∗ ∗disabledCANCELED› RUN BY HAND ONLY (14)At a glancenext 24 h, active, off, by handDay by dayeach schedule at its next runPreset schedulesthe preset's name beside the jobSwitched offset but disabledBy hand onlyfolded; a job opens its editorIn wordsthe cron under itWhen, and the last runa click opens the job
PartContent
CountersThe runs due in the next 24 hours, the active schedules, the schedules switched off, the jobs run by hand only.
UpcomingEach active schedule at its next run — the job's own, and one per preset with a schedule (the preset's name next to the job) —, grouped by day: Today, Tomorrow, then the date. Each line shows the time, the job, the schedule in words (every day at 03:00, every Monday at 07:00) with the cron under it, when it comes, and the state of the last run.
Scheduled but switched offSchedules that are set but disabled.
Run by hand onlyThe jobs without any schedule, folded; a click on one opens its editor.

Schedules the page cannot put into words — lists of hours, several months — show their cron only.


Schedulable presets​

A preset is a saved set of run parameters (parameters, step arguments, steps switched on or off, log level), created from the Run with parameters window with Save as preset. In the job editor, the Presets & schedules section gives each preset its own Schedule (cron) — said in words like the job's — and Timezone, and a Schedule enabled checkbox; the same card renames the preset, changes what it gives (log, values, steps) and deletes it — see Create a job.

The scheduler then runs the job on that schedule with the preset's parameters: one job, several schedules, different inputs — a nightly full load and an hourly incremental of the same ETL, for instance.

A preset's schedule is independent of the job's Enabled switch: an enabled preset runs even when the job's own schedule is off.

Cloning a job

Clone creates a disabled copy without any schedule: the job's own cron and the presets' schedules are dropped, so the copy never fires alongside the original. Give it its schedules once it is ready.


Missed schedules​

A run can fail to happen: the server was stopped at that time, or the previous run of the same job was still in progress. Nomaflow checks for such gaps and records each one as a run in state MISSED, with the expected time, in the run history and as the job's last run. A rule on the missed event can warn someone — see Notifications.

The Missed schedules panel of the Jobs page (next to the retention panel) shows the policy and the last check, and Check now runs a check at once.

SettingDefaultMeaning
CheckonSwitches the check on or off.
Grace (min)10A run started within this delay after the expected time — a scheduled one, or a manual one — counts for it.
Check interval (min)5How often the check runs.
Look back (hours)24How far back a check looks, at most. A job that never ran is checked from the scheduler's start only.

The policy is saved in jobs.toml under [meta.missed]. A missed time is recorded once: a restart does not report it again.


Pausing a schedule​

OptionEffect
The job's enabled / disabled pill on the Jobs page, or Pause on a dashboard's jobs cardThe job's own schedule stops at once, without a reload. Run still works; preset schedules keep running unless switched off.
Only when started by hand in the Schedule fieldThe job's own schedule is removed.
Schedule enabled off on a presetThat preset's schedule stops.

Tips​

  • Spread heavy jobs over the night (02:00, 02:30, 03:00) rather than starting them all at midnight.
  • Prefer 15 * * * * to 0 * * * * for hourly jobs: many other systems run on the hour.
  • Use a timezone name, never a fixed offset, so that daylight saving time is followed.
  • Check the Next runs preview after every change: it is the quickest way to catch a wrong day.