Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scheduled tasks are not deleted when the JobResult is deleted when another queue is used (via. QUEUE_MAPPINGS) #11438

Closed
kkthxbye-code opened this issue Jan 9, 2023 · 0 comments · Fixed by #11439
Assignees
Labels
status: accepted This issue has been accepted for implementation type: bug A confirmed report of unexpected behavior in the application

Comments

@kkthxbye-code
Copy link
Contributor

NetBox version

v3.4.2

Python version

3.10

Steps to Reproduce

  1. Schedule a script with a scheduled datetime and an interval
  2. Delete the JobResult before the script is executed

Expected Behavior

The scheduled job should be deleted (can be view in admin -> background tasks).

Observed Behavior

The scheduled job is not deleted.

@kkthxbye-code kkthxbye-code added the type: bug A confirmed report of unexpected behavior in the application label Jan 9, 2023
@kkthxbye-code kkthxbye-code self-assigned this Jan 9, 2023
@kkthxbye-code kkthxbye-code added the status: accepted This issue has been accepted for implementation label Jan 9, 2023
jeremystretch added a commit that referenced this issue Jan 9, 2023
michaelklose pushed a commit to michaelklose/netbox that referenced this issue Jan 10, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 10, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
status: accepted This issue has been accepted for implementation type: bug A confirmed report of unexpected behavior in the application
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant