Skip to content

Background Jobs

Matt requested to merge msimonin/l1p5-vuejs:dev/fix-308 into master

This introduces a framework to run long running jobs.

A new Django application is defined to expose a minimal REST API allowing to run/list/delete jobs. New frontend components are also added to manage those operations from Vue.

Jobs are predefined as a management commands and will are usable from:

  • the management command
  • the django view (which forks the corresponding command) A minimal set of information about the job is stored in the database (allowing to get the exit code, stdout, ...)

For #308 (closed)

Merge request reports

Loading