https://github.com/opal-project/opal-scheduler
Manage jobs and services for OPAL. Code as of 20-02-2020.
https://github.com/opal-project/opal-scheduler
Last synced: 10 months ago
JSON representation
Manage jobs and services for OPAL. Code as of 20-02-2020.
- Host: GitHub
- URL: https://github.com/opal-project/opal-scheduler
- Owner: OPAL-Project
- License: mit
- Created: 2020-02-20T19:23:55.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2025-08-09T01:11:10.000Z (10 months ago)
- Last Synced: 2025-08-09T03:09:19.499Z (10 months ago)
- Language: JavaScript
- Size: 241 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 12
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# OPAL-scheduler
[](https://www.opalproject.org)
[](https://travis-ci.org/OPAL-Project/OPAL-Scheduler)
[](https://david-dm.org/OPAL-Project/opal-scheduler)
[](https://david-dm.org/OPAL-Project/opal-scheduler?type=dev)
OPAL - Scheduler micro-service
---------------------------
The opal-scheduler service provides scheduling capabilities to the opal eco-system. While running jobs is handled by the opal-compute,
managing and scheduling them is the role of opal-scheduler.
To do so, the opal-scheduler runs continually in the background, checking periodically for jobs to be scheduled, queued or archived.
We provide the [API documentation](doc-api-swagger.yml) in swagger 2.0 format. You can paste the content in the [swagger editor](http://editor.swagger.io/) to render the API documentation.
## Configuration
At its construction, the `opalScheduler` server receives a configuration object that MUST respect the following schema:
* [Example configuration](config/opal.scheduler.sample.config.js)
### Supported Job States
* `QUEUED` The job is in a queue and it is waiting to be scheduled
* `SCHEDULED` The job has been scheduled
* `RUNNING` The job is currently running
* `DONE` The job has finished but it still need post processing
* `COMPLETED` The job has finished and the post processing has been completed
* `ERROR` The job encountered an error
* `CANCELLED` The job has been cancelled
* `DEAD` The job is dead