From 7d871778ebf2f38f02ee7df29844bfbdbdc7beb0 Mon Sep 17 00:00:00 2001 From: movelg <43134135+movelg@users.noreply.github.com> Date: Fri, 11 Nov 2022 08:40:29 +0100 Subject: [PATCH] Don't use bash internal variable name --- docker/housekeeping.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docker/housekeeping.sh b/docker/housekeeping.sh index cfe06b1..47a4a3d 100755 --- a/docker/housekeeping.sh +++ b/docker/housekeeping.sh @@ -1,8 +1,8 @@ #!/bin/bash -SECONDS=${HOUSEKEEPING_INTERVAL:=86400} -echo "Interval set to ${SECONDS} seconds" +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 "${SECONDS}s" + sleep "${SLEEP_SECONDS}s" done