Background Jobs

Certain long running tasks are executed as background jobs. These tasks are managed by the battery service and running either autonomously or triggered by user actions.

Background Tasks in Steering

In the Django Admin for Steering at /steering/admin. You can a list of executed tasks under Steering > Worker Tasks.

Task

Description

publish_message_to_nats

Publishes messages to the NATS message bus.

delete_unused_unmodified_episodes

By default every broadcast has an episode assigned. These may be never used and need to be cleaned up.

Background Tasks in Battery

Navigate to the Django Admin for Battery at /battery/-/admin. You can get a list executed tasks under Tasks Database Backend > Task Results.

The following background tasks are available:

Task

Description

media store - process_pipeline

Uploads, analyzes and imports media files into the media store.

cut & glue

Automatically crops and concats block recordings into show recording files.

Media Store

The media store job is responsible for uploading, analyzing, transforming and importing media files into the media store.

It uses its own media processing pipeline, which can be inspected at /battery/media-store/pipeline-inspector.