Skip to content

Commit 925f41b

Browse files
authored
Merge pull request #883 from movelg/housekeeping_var_name_fix
Housekeeping var name fix
2 parents c5f91ad + 7d87177 commit 925f41b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docker/housekeeping.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
#!/bin/bash
2-
SECONDS=${HOUSEKEEPING_INTERVAL:=86400}
3-
echo "Interval set to ${SECONDS} seconds"
2+
SLEEP_SECONDS=${HOUSEKEEPING_INTERVAL:=86400}
3+
echo "Interval set to ${SLEEP_SECONDS} seconds"
44
while true; do
55
date
66
/opt/netbox/venv/bin/python /opt/netbox/netbox/manage.py housekeeping
7-
sleep "${SECONDS}s"
7+
sleep "${SLEEP_SECONDS}s"
88
done

0 commit comments

Comments
 (0)