Housekeeping

This commit is contained in:
Tobias Genannt
2025-08-05 08:06:22 +02:00
parent c49af09fa5
commit 67eff20f7d
5 changed files with 0 additions and 31 deletions

View File

@@ -1,8 +0,0 @@
#!/bin/bash
SLEEP_SECONDS=${HOUSEKEEPING_INTERVAL:=86400}
echo "Interval set to ${SLEEP_SECONDS} seconds"
while true; do
date
/opt/netbox/venv/bin/python /opt/netbox/netbox/manage.py housekeeping
sleep "${SLEEP_SECONDS}s"
done