mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-05-31 21:04:05 +02:00
Update 01-configuration.sh
This commit is contained in:
@@ -45,6 +45,10 @@ FREQUENCY="$(bashio::config 'Updates')"
|
|||||||
bashio::log.info "$FREQUENCY updates"
|
bashio::log.info "$FREQUENCY updates"
|
||||||
|
|
||||||
case "$FREQUENCY" in
|
case "$FREQUENCY" in
|
||||||
|
"Quarterly")
|
||||||
|
sed -i "/customize the cron schedule/a export COLLECTOR_CRON_SCHEDULE=\"*/15 * * * *\"" /etc/cont-init.d/50-cron-config
|
||||||
|
;;
|
||||||
|
|
||||||
"Hourly")
|
"Hourly")
|
||||||
sed -i "/customize the cron schedule/a export COLLECTOR_CRON_SCHEDULE=\"0 * * * *\"" /etc/cont-init.d/50-cron-config
|
sed -i "/customize the cron schedule/a export COLLECTOR_CRON_SCHEDULE=\"0 * * * *\"" /etc/cont-init.d/50-cron-config
|
||||||
;;
|
;;
|
||||||
|
|||||||
Reference in New Issue
Block a user