Skip to content

Introduce signals indicating the execution or termination of a job #14365

@jeremystretch

Description

@jeremystretch

NetBox version

v3.6.5

Feature type

New functionality

Proposed functionality

Introduce two new signals, job_start and job_end, which fire when a job is executed or terminated, respectively. This will allow us to move the trigger_webhooks() method from the Job model into a standalone receiver.

Use case

Exposing these signals standardizes event behavior in #14132 and enables plugins to interact with job events.

Database changes

N/A

External dependencies

N/A

Metadata

Metadata

Assignees

Labels

status: acceptedThis issue has been accepted for implementationtype: featureIntroduction of new functionality to the application

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions