Run a scheduler job now
Moves the job's next run to now and answers 202 right away, before the job finishes. A job that is already running does not start a second time, and an interval job counts its next run from this one. An unknown job id gets a 404, and so does every id while this process has no scheduler. Needs a Read/write API key or a browser session.
session<token>Session cookie authentication.
job_id*stringThe job's id from the job list, such as geoip-refresh.
Request accepted, processing continues off-line
application/json- response
One scheduled job. The last-run fields cover runs since this process started.
id*stringThe job id that the run endpoint takes, such as geoip-refresh.
lastDurationSeconds*|How long the last run took, in seconds.
lastError*|The error of the last run when it failed.
lastRunTime*|When the last run started.
lastStatus*|missed means a run came due but could not start in time, so the scheduler skipped it.
"success""error""missed"nullname*stringnextRunTime*|Null when no next run is scheduled.
running*booleanWhether a run is in progress.
trigger*stringWhen the job runs, as APScheduler describes its trigger.
curl -X POST 'https://geometrikks.example.com/api/v1/system/scheduler/jobs/string/run'{ "id": "string", "lastDurationSeconds": 0, "lastError": "string", "lastRunTime": "2019-08-24T14:15:22Z", "lastStatus": "success", "name": "string", "nextRunTime": "2019-08-24T14:15:22Z", "running": true, "trigger": "string"}List the scheduler jobs GET
Returns every scheduled job with its trigger, its next run and the outcome of its last run since this process started.
Get every setting with its environment variable GET
Returns the whole configuration in sections, with each setting's value, default, description and environment variable. A secret that is set shows as `******` and one that is not shows as null. Some rows add a value worked out at runtime, such as the auto-detected server location.