Introduce a nightly maintenance command to handle recurring housekeeping tasks #6590
Labels
status: accepted
This issue has been accepted for implementation
type: housekeeping
Changes to the application which do not directly impact the end user
Milestone
Proposed Changes
Add a new management command (e.g.
manage.py housekeeping
) intended to be run nightly. This can take care of recurring tasks such as:The installation and upgrade documentation will be updated to include creating a cron job to run this command nightly.
Justification
This would allow us to offload the pseudo-random clearing of expired changelog records from the middleware (see #6056), and provide a foundation for similar additional uses in future releases.
The text was updated successfully, but these errors were encountered: