From b75cad53366b825a9359ba7b4e68fafde2d4260b Mon Sep 17 00:00:00 2001 From: John Bowdre Date: Wed, 5 Jan 2022 15:18:24 -0600 Subject: [PATCH] update cron schedule string --- entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/entrypoint.sh b/entrypoint.sh index bff578b..2188272 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -1,7 +1,7 @@ #!/bin/sh set -e -[ -z "$CRON_SCHEDULE" ] && CRON_SCHEDULE="1/15 * * * *" +[ -z "$CRON_SCHEDULE" ] && CRON_SCHEDULE="*/15 * * * *" echo "$CRON_SCHEDULE /usr/local/bin/php /opt/phpipam-agent/index.php update > /proc/self/fd/1 2>/proc/self/fd/2" > $CRONTAB_FILE echo "$CRON_SCHEDULE /usr/local/bin/php /opt/phpipam-agent/index.php discover > /proc/self/fd/1 2>/proc/self/fd/2" >> $CRONTAB_FILE