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

Closed
opened 2025-12-29 20:42:33 +01:00 by adam · 0 comments
Owner

Originally created by @jeremystretch on GitHub (Nov 28, 2023).

Originally assigned to: @jeremystretch on GitHub.

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

Originally created by @jeremystretch on GitHub (Nov 28, 2023). Originally assigned to: @jeremystretch on GitHub. ### 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
adam added the status: acceptedtype: feature labels 2025-12-29 20:42:33 +01:00
adam closed this issue 2025-12-29 20:42:33 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#8891