Update cronupdate

This commit is contained in:
Alexandre
2022-01-16 15:29:27 +01:00
committed by GitHub
parent 0d5b1510dd
commit c115e4d751

View File

@@ -1,3 +1,9 @@
#!/bin/bash
echo "Running update according to defined schedule"
/usr/bin/env bashio
bashio::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"
/usr/local/bin/php /var/www/html/artisan firefly:cron >/dev/null
else
/usr/local/bin/php /var/www/html/artisan firefly:cron
fi