Jobs - API Documentation
Overview
Jobs endpoints let global administrators list the scheduled background jobs of the server and suspend or resume a job.
Endpoint Index
- Jobs List -
/o?method=jobs - Suspend Job -
/o?method=suspend_job
Access & Permissions
- Both endpoints require a global administrator.
- Both endpoints require the
app_idparameter, even though jobs are not tied to an app.
Feature Behavior
- Job statuses are returned as text:
SCHEDULED,RUNNING,DONE,CANCELLED,ABORTED,PAUSED,WAITINGorSUSPENDED.
Implementation details
Database Collections
| Collection | Purpose |
|---|---|
countly.jobs | Stores scheduled jobs and their run history. |