Daemon job

From ContactsLaw Documentation

Daemon jobs describe work that is carried out by the daemon.

There are many different types of jobs, targeting specific subscriptions or the system as a whole.

They have the following properties:

  • A member who owns the job
  • Whether to notify the owner if the job succeeds or fails
  • Recurrence details, if the job repeats
  • Additional properties specific to each type of job

Schedules

Each job has one or more schedules, which determine when the job runs.

Schedules have the following properties:

  • Date/time on which the job is scheduled to run
  • Status of the job (e.g. running, succeeded, cancelled, etc)
  • When the job actually started and completed
  • Result of the job, if the job succeeded
  • Error details, if the job failed

These form the history for the job. Users can review job schedules, report errors and re-schedule if needed.