Update 01-configuration.sh

This commit is contained in:
Alexandre
2024-11-02 17:07:11 +01:00
committed by GitHub
parent e1949df8b1
commit 7b10df9e2d

View File

@@ -51,6 +51,10 @@ FREQUENCY="$(bashio::config 'Updates')"
bashio::log.info "$FREQUENCY updates"
case "$FREQUENCY" in
"Quarterly")
sed -i "/customize the cron schedule/a export COLLECTOR_CRON_SCHEDULE=\"*/15 * * * *\"" /etc/cont-init.d/50-cron-config
;;
"Hourly")
sed -i "/customize the cron schedule/a export COLLECTOR_CRON_SCHEDULE=\"0 * * * *\"" /etc/cont-init.d/50-cron-config
;;