mirror of
https://github.com/jbowdre/phpipam-agent-docker.git
synced 2024-12-27 05:02:19 +00:00
fix missing stars in cron entries
This commit is contained in:
parent
770ca7eaae
commit
18abfd9446
1 changed files with 2 additions and 2 deletions
|
@ -24,8 +24,8 @@ case "$SCAN_INTERVAL" in
|
|||
;;
|
||||
esac
|
||||
|
||||
echo "$CRON_S /usr/local/bin/php /opt/phpipam-agent/index.php update > /proc/self/fd/1 2>/proc/self/fd/2" > $CRONTAB_FILE
|
||||
echo "$CRON_S /usr/local/bin/php /opt/phpipam-agent/index.php discover > /proc/self/fd/1 2>/proc/self/fd/2" >> $CRONTAB_FILE
|
||||
echo "$CRON_S * * * /usr/local/bin/php /opt/phpipam-agent/index.php update > /proc/self/fd/1 2>/proc/self/fd/2" > $CRONTAB_FILE
|
||||
echo "$CRON_S * * * /usr/local/bin/php /opt/phpipam-agent/index.php discover > /proc/self/fd/1 2>/proc/self/fd/2" >> $CRONTAB_FILE
|
||||
chmod 0644 $CRONTAB_FILE
|
||||
|
||||
exec "$@"
|
||||
|
|
Loading…
Reference in a new issue