mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-24 21:46:29 +01:00
Update cronupdate
This commit is contained in:
@@ -1,9 +1,9 @@
|
|||||||
#!/usr/bin/env bashio
|
#!/usr/bin/env bashio
|
||||||
|
|
||||||
bashio::log.info "Running update according to defined schedule"
|
bashio::log.info "Running update according to defined schedule" > /dev/stdout
|
||||||
if bashio::config.true 'silent'; then
|
if bashio::config.true 'silent'; then
|
||||||
bashio::log.warning "Silent mode activated. Only errors will be shown. Please disable in addon options if you need to debug"
|
bashio::log.warning "Silent mode activated. Only errors will be shown. Please disable in addon options if you need to debug" > /dev/stdout
|
||||||
/usr/local/bin/php /var/www/html/artisan firefly:cron >/dev/null
|
/usr/local/bin/php /var/www/html/artisan firefly:cron >/dev/null 2> /dev/stdout
|
||||||
else
|
else
|
||||||
/usr/local/bin/php /var/www/html/artisan firefly:cron
|
/usr/local/bin/php /var/www/html/artisan firefly:cron > /dev/stdout 2> /dev/stdout
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user