We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c5f91ad + 7d87177 commit 925f41bCopy full SHA for 925f41b
docker/housekeeping.sh
@@ -1,8 +1,8 @@
1
#!/bin/bash
2
-SECONDS=${HOUSEKEEPING_INTERVAL:=86400}
3
-echo "Interval set to ${SECONDS} seconds"
+SLEEP_SECONDS=${HOUSEKEEPING_INTERVAL:=86400}
+echo "Interval set to ${SLEEP_SECONDS} seconds"
4
while true; do
5
date
6
/opt/netbox/venv/bin/python /opt/netbox/netbox/manage.py housekeeping
7
- sleep "${SECONDS}s"
+ sleep "${SLEEP_SECONDS}s"
8
done
0 commit comments