-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Closed
Labels
complexity: mediumRequires a substantial but not unusual amount of effort to implementRequires a substantial but not unusual amount of effort to implementstatus: acceptedThis issue has been accepted for implementationThis issue has been accepted for implementationtype: featureIntroduction of new functionality to the applicationIntroduction of new functionality to the application
Milestone
Description
NetBox version
v4.2.1
Feature type
Change to existing functionality
Triage priority
I volunteer to perform this work (if approved)
Proposed functionality
Replace the standalone housekeeping
management command with individual system jobs (introduced in NetBox v4.2) that run automatically at the configured interval.
The housekeeping
command currently performs the following operations:
- Clear any expired authentication sessions from the database
- Delete any expired change log records (per the
CHANGELOG_RETENTION
parameter) - Delete any expired jobs (per the
JOB_RETENTION
parameter) - Check for any new releases (if configured)
Use case
This will obviate the need for administrators to manually configure system cron jobs to run the housekeeping
command. It also allows for the individual housekeeping tasks (listed above) to be scheduled at different intervals.
Database changes
N/A
External dependencies
N/A
alehaa
Metadata
Metadata
Assignees
Labels
complexity: mediumRequires a substantial but not unusual amount of effort to implementRequires a substantial but not unusual amount of effort to implementstatus: acceptedThis issue has been accepted for implementationThis issue has been accepted for implementationtype: featureIntroduction of new functionality to the applicationIntroduction of new functionality to the application