mirror of
https://github.com/jbowdre/phpipam-agent-docker.git
synced 2024-11-22 15:02:19 +00:00
update cron schedule string
This commit is contained in:
parent
d5f138e36f
commit
b75cad5336
1 changed files with 1 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
set -e
|
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 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
|
echo "$CRON_SCHEDULE /usr/local/bin/php /opt/phpipam-agent/index.php discover > /proc/self/fd/1 2>/proc/self/fd/2" >> $CRONTAB_FILE
|
||||||
|
|
Loading…
Reference in a new issue