-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Closed
Labels
severity: mediumResults in substantial degraded or broken functionality for specfic workflowsResults in substantial degraded or broken functionality for specfic workflowsstatus: acceptedThis issue has been accepted for implementationThis issue has been accepted for implementationtype: bugA confirmed report of unexpected behavior in the applicationA confirmed report of unexpected behavior in the application
Description
NetBox version
v3.5.4
Python version
3.8
Steps to Reproduce
Upload the following script and run it:
from extras.scripts import Script
class TestScript(Script):
class Meta:
name = "Test Script"
scheduling_enabled = False
def run(self, data, commit):
self.log_success("Run OK")
return "OK\n"
Expected Behavior
Since scheduling_enabled is False, Netbox should not offer to run the script at scheduled times.
Observed Behavior
Note however that commit_default = False is honoured if provided.
atownson, bitcollector1 and rodvand
Metadata
Metadata
Assignees
Labels
severity: mediumResults in substantial degraded or broken functionality for specfic workflowsResults in substantial degraded or broken functionality for specfic workflowsstatus: acceptedThis issue has been accepted for implementationThis issue has been accepted for implementationtype: bugA confirmed report of unexpected behavior in the applicationA confirmed report of unexpected behavior in the application
