mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-05-20 15:51:50 +02:00
Update cronupdate
This commit is contained in:
@@ -8,7 +8,7 @@ PATHTOFILES="$(dirname "${PATHTOFILES}")"
|
|||||||
bashio::log.info "Running update according to defined schedule. Files located in $PATHTOFILES will be imported"
|
bashio::log.info "Running update according to defined schedule. Files located in $PATHTOFILES will be imported"
|
||||||
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"
|
||||||
/usr/local/bin/php /var/www/html/artisan importer:auto-import "$PATHTOFILES/import files" >/dev/null
|
/usr/local/bin/php /var/www/html/artisan importer:auto-import "$PATHTOFILES/import_files" >/dev/null
|
||||||
else
|
else
|
||||||
/usr/local/bin/php /var/www/html/artisan importer:auto-import "$PATHTOFILES/import_files"
|
/usr/local/bin/php /var/www/html/artisan importer:auto-import "$PATHTOFILES/import_files"
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user