[PR #19641] [CLOSED] Closes #19545 - Suppress housekeeping cron output #15688

Closed
opened 2025-12-30 00:23:25 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/19641
Author: @pheus
Created: 6/4/2025
Status: Closed

Base: mainHead: 19545-default-housekeeping-script-to-dev-null


📝 Commits (1)

  • c4a23af feat(scripts): Suppress housekeeping cron output

📊 Changes

1 file changed (+13 additions, -1 deletions)

View changed files

📝 contrib/netbox-housekeeping.sh (+13 -1)

📄 Description

Fixes: #19545 - Housekeeping task output triggers emails via anacron

Enhances the NetBox housekeeping cron job by adding optional logging functionality. By default, the cron job now suppresses its output for quieter operation. Users can optionally direct output to a log file for monitoring or troubleshooting as needed.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/netbox-community/netbox/pull/19641 **Author:** [@pheus](https://github.com/pheus) **Created:** 6/4/2025 **Status:** ❌ Closed **Base:** `main` ← **Head:** `19545-default-housekeeping-script-to-dev-null` --- ### 📝 Commits (1) - [`c4a23af`](https://github.com/netbox-community/netbox/commit/c4a23af7409546a3dee1308ace06626b380229ea) feat(scripts): Suppress housekeeping cron output ### 📊 Changes **1 file changed** (+13 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `contrib/netbox-housekeeping.sh` (+13 -1) </details> ### 📄 Description <!-- Thank you for your interest in contributing to NetBox! Please note that our contribution policy requires that a feature request or bug report be approved and assigned prior to opening a pull request. This helps avoid waste time and effort on a proposed change that we might not be able to accept. IF YOUR PULL REQUEST DOES NOT REFERENCE AN ISSUE WHICH HAS BEEN ASSIGNED TO YOU, IT WILL BE CLOSED AUTOMATICALLY. Please specify your assigned issue number on the line below. --> ### Fixes: #19545 - Housekeeping task output triggers emails via anacron Enhances the NetBox housekeeping cron job by adding optional logging functionality. By default, the cron job now suppresses its output for quieter operation. Users can optionally direct output to a log file for monitoring or troubleshooting as needed. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
adam added the pull-request label 2025-12-30 00:23:25 +01:00
adam closed this issue 2025-12-30 00:23:25 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#15688