Update 31-run

This commit is contained in:
Alexandre
2021-04-07 09:53:01 +02:00
committed by GitHub
parent 2d9749369c
commit a96a756849

View File

@@ -26,11 +26,10 @@ grep -rl 'api/' /app | xargs sed -i 's|api/|./api/|g' || true
# CRON OPTIONS # # CRON OPTIONS #
################ ################
### Variables
FREQUENCY=$(bashio::config 'Updates') FREQUENCY=$(bashio::config 'Updates')
bashio::log.info "$Frequency updates" bashio::log.info "$Frequency updates"
### Set frequency
case $FREQUENCY in case $FREQUENCY in
"Hourly") "Hourly")
sed -i 's|0 0 * * *|0 * * * *|g' /etc/crontabs/root sed -i 's|0 0 * * *|0 * * * *|g' /etc/crontabs/root