Skip to content

Jobs Editor

Visual editor for *.job artefacts. A job binds a cron expression to a handler module that the Quartz-backed engine-jobs invokes at every trigger.

Component: editor-jobs. Synchronizer: JobSynchronizer.

Artefact shape

json
{
    "expression": "0 * * * * ?",
    "group": "defined",
    "handler": "sales/jobs/daily-sync.ts",
    "description": "Daily sales sync",
    "parameters": [
        { "name": "BATCH_SIZE", "type": "string", "defaultValue": "500" }
    ]
}
FieldRequiredNotes
expressionyesQuartz cron expression (sec min hour day-of-month month day-of-week [year]).
groupnoLogical grouping. Defaults to defined.
handleryesRepository path to the handler module. TS / JS via engine-javascript, Java via engine-java.
descriptionnoHuman-readable description. Shown in the Jobs view.
parametersnoThe job's declared input, read by the handler as configuration values. See Parameters.

Editor fields

The editor exposes the same fields as form inputs:

  • Cron expression - validated client-side.
  • Handler - file picker; accepts *.ts, *.js, *.mjs, *.java.
  • Description.
  • Parameters - inline table; Add / Edit / Delete rows.

Runtime

On synchronization, the job is registered with Quartz. Subsequent runs are visible in the Jobs view, where you can also pause, resume, or trigger a job manually - a manual trigger may supply values for the declared parameters only, and only for that run. Handler errors land in the Logs view.

See also

Released under the EPL-2.0 License.