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

Add support for customising the age of jobs that are deleted by the delete_old_jobs command #63

Merged
merged 2 commits into from
Apr 9, 2024

Conversation

j4mie
Copy link
Member

@j4mie j4mie commented Apr 9, 2024

This adds an optional flag --hours to the manage.py delete_old_jobs command, which allows the user to override the age of jobs that are to be deleted. For example, if you'd like to keep jobs for a week, use python manage.py delete_old_jobs --hours=168

@j4mie j4mie merged commit 9ddb9a2 into master Apr 9, 2024
57 checks passed
@j4mie j4mie deleted the parameterise-delete-old-jobs branch April 9, 2024 09:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants