Skip to main content

The Jobs page

The Jobs page lists every job of jobs.toml, one line per job, grouped by application, with its last run, its schedule and its actions. It is reserved to superusers.


At a glance​

Jobs+ New job⌕ Search jobs (id, description, tag)…All applications ▾Any status ▾Any tag ▾12 of 31 jobs★ Main jobs (2)nomasx1-collect-allCollect everything for an applicationSUCCEEDEDManual onlyenablednomajde-daily-syncNightly JD Edwards syncFAILED0 2 ∗ ∗ ∗enabled▾ crm (2)crm-daily-pipelinePipeline of the daySUCCEEDED0 8 ∗ ∗ mon-frienabledcrm-archiveArchive closed dealsCANCELEDManual onlydisabled▸ Framework (8)▶✎⧉⇩✕▶✎⧉⇩✕▶✎⧉⇩✕▶✎⧉⇩✕Search and filterskept in the browserMain jobsthe jobs tagged mainOne group per appclick to foldLast runclick to open itEnable / disableno reload neededActionsrun, edit, clone, export…

Search and filters​

ElementUse
SearchFinds a job by its id, its description or a tag.
All applications, Any status, Any tagNarrow the list. Status: Enabled, Disabled, Scheduled (enabled with a next run), Running now, Last run failed.
ClearResets the search and the filters.
N of M jobsHow many jobs the filters leave.
+ New jobOpens the job editor — see Create a job.

The search and the filters are kept in the browser from one visit to the next. Two folded panels hold the policies shared by every job: Run history retention (Administration) and Missed schedules (Schedules).


Groups​

  • Main jobs comes first: the jobs tagged main, the ones operators run most — the collection of an application, a nightly sync.
  • Then one group per application, in alphabetical order: a job belongs to the application its tags or its id name (nomasx1-collect-all → Nomasx-1); the others go to Framework, last.

A click on a group's title folds or unfolds it.


A job line​

ElementMeaning
Id, descriptionA click on the id opens the job editor.
Last runThe state of the last run; a click opens its detail.
ScheduleThe cron, or Manual only, with the next run.
enabled / disabledA click switches the job's own schedule on or off at once, without reloading the configuration. Run now works either way, and preset schedules are not affected.

The icons at the end of the line:

IconEffect
Run nowRuns the job. When there is something to choose — parameters, step arguments, several steps, a file_load step — it opens Run with parameters first. While the job runs, it becomes Cancel.
EditOpens the job editor.
CloneAsks for a new id and creates a disabled copy without any schedule: neither the job's own nor its presets'.
ExportDownloads a ZIP with the job's jobs.toml entry and a MANIFEST.md. The connectors and queries it uses are not included.
DeleteRemoves the job from jobs.toml after confirmation. Its run history is kept.

Run with parameters​

The window applies to this run only — jobs.toml is not changed.

PartContent
PresetPick a saved preset and Apply it: the window first goes back to the job's saved values, then applies the preset — as the scheduler does. (pick a preset…) returns to the saved values. Save as preset… saves the window's current state under a name, in jobs.toml.
Shared params (apply to every step)The job's shared parameters, editable for this run. A parameter offered to users shows as a dropdown — its choices may come from a query, such as the applications of Nomasx-1 —, or as checkboxes headed by All when several values are allowed.
StepsOne line per step with a checkbox to skip it (All / None); Edit parameters opens a step's arguments. A file_load step gets a file picker — see Steps.
Log levelWARNING — warnings + errors only, INFO — row counts + progress markers, DEBUG — full SQL of every query.
RunUploads the chosen files, then starts the run.

Several values, several runs. A job built to run per value — per application, per company — runs once for each value ticked, one run after the other, each with a single value; a failed value does not stop the next ones. All takes every value offered. In Job Runs, each run shows the value it ran for.

Typical uses: rerun only the step that failed, load one month again, run with DEBUG to see the SQL, run a preset by hand, collect three applications in one go.


Cancel​

Cancel asks the run to stop. SQL, HTTP, file-load and async Python steps stop at once; the run ends CANCELED. A synchronous Python function cannot be interrupted: the run is marked cancelled and the function finishes on its own — see Troubleshoot.