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.
These concepts are used throughout the app:
- A
jobis a single task that can be planned with a cron expression, or to run with a certain interval between executions (delay). - A
queueorjob queueis a collection of jobs that will be executed in sequence. - A
queueableis a job that is not part of a queue (this concept is not used in the ui) - We retrieve items from the
/schedulerendpoint to simplify rendering the root list view. These can be either jobs or queues. Instead of calling theseschedules, after the endpoint, we're calling thesejobsAndQueues. This is to prevent confusion with thescheduleproperty 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.