Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dhis2/scheduler-app
DHIS 2 app for scheduling of tasks
https://github.com/dhis2/scheduler-app
synced-settings tx web-app
Last synced: 10 days ago
JSON representation
DHIS 2 app for scheduling of tasks
- Host: GitHub
- URL: https://github.com/dhis2/scheduler-app
- Owner: dhis2
- License: bsd-3-clause
- Created: 2017-09-27T11:43:28.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2024-10-21T18:04:02.000Z (28 days ago)
- Last Synced: 2024-10-21T21:45:03.648Z (28 days ago)
- Topics: synced-settings, tx, web-app
- Language: JavaScript
- Homepage: https://dhis2-scheduler.netlify.app
- Size: 4.28 MB
- Stars: 1
- Watchers: 31
- Forks: 2
- Open Issues: 14
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.md
- Codeowners: CODEOWNERS
Awesome Lists containing this project
README
# Scheduler
## Cypress env settings
Cypress needs a couple of environment variables to function correctly for local testing. They can be defined in a `cypress.env.json` at the root of the project. You can use `cypress.env.json.example` as a template by copying it, removing the `.example` suffix and replacing the username and password.
## Concepts
These concepts are used throughout the app:
- A `job` is a single task that can be planned with a cron expression, or to run with a certain interval between executions (delay).
- A `queue` or `job queue` is a collection of jobs that will be executed in sequence.
- A `queueable` is a job that is not part of a queue (this concept is not used in the ui)
- We retrieve items from the `/scheduler` endpoint to simplify rendering the root list view. These can be either jobs or queues. Instead of calling these `schedules`, after the endpoint, we're calling these `jobsAndQueues`. This is to prevent confusion with the `schedule` property of jobs and queues.In the ui we're using the concepts `job queue` and `job` (so the user is only aware of those terms). We also use the heading `Scheduled jobs` in the list view, since the queues and jobs essentially are all scheduled jobs.