Update cronupdate

This commit is contained in:
Alexandre
2022-02-14 17:16:44 +01:00
committed by GitHub
parent 0bef335a8b
commit e4b393bcf7

View File

@@ -1,11 +1,11 @@
#!/usr/bin/env bashio
(
bashio::log.info "Running update according to defined schedule" > /dev/stdout
bashio::log.info "Running update according to defined schedule"
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" > /dev/stdout
/usr/local/bin/php /var/www/html/artisan firefly:cron >/dev/null 2> /dev/stdout
bashio::log.warning "Silent mode activated. Only errors will be shown. Please disable in addon options if you need to debug"
/usr/local/bin/php /var/www/html/artisan firefly:cron >/dev/null
else
/usr/local/bin/php /var/www/html/artisan firefly:cron > /dev/stdout 2> /dev/stdout
/usr/local/bin/php /var/www/html/artisan firefly:cron
fi
) &>/proc/1/fd/1