mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-07-02 12:08:46 +02:00
Update 31-run
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user