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

IMPROVEMENT: Add management command to abort all active jobs #229

Open
kimakan opened this issue Dec 27, 2023 · 0 comments
Open

IMPROVEMENT: Add management command to abort all active jobs #229

kimakan opened this issue Dec 27, 2023 · 0 comments
Labels
app:jobs missing-feature When some functionality is missing from an existing feature priority:medium

Comments

@kimakan
Copy link
Contributor

kimakan commented Dec 27, 2023

Before a downtime, it is necessary to abort the active jobs to ensure a defined job status after the maintenance.

python manage.py abort_active_jobs

The jobs should get the status ABORTED with the error message Aborted due to a planned downtime. Alternatively, the message could be provided with an option

python manage.py abort_active_jobs -m "Aborted due to the maintenance"
@kimakan kimakan added priority:medium missing-feature When some functionality is missing from an existing feature app:jobs labels Dec 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
app:jobs missing-feature When some functionality is missing from an existing feature priority:medium
Projects
None yet
Development

No branches or pull requests

1 participant