diff --git a/fireflyiii_data_importer/rootfs/templates/cronupdate b/fireflyiii_data_importer/rootfs/templates/cronupdate index c86170d26..4467e1df5 100644 --- a/fireflyiii_data_importer/rootfs/templates/cronupdate +++ b/fireflyiii_data_importer/rootfs/templates/cronupdate @@ -8,7 +8,7 @@ PATHTOFILES="$(dirname "${PATHTOFILES}")" bashio::log.info "Running update according to defined schedule. Files located in $PATHTOFILES will be imported" 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" - su -l www-data -s /bin/bash -c "/usr/local/bin/php /var/www/html/artisan importer:auto-import >/dev/null" + su -l www-data -s /bin/bash -c "/usr/local/bin/php /var/www/html/artisan importer:auto-import $PATHTOFILES/import_files >/dev/null" else su -l www-data -s /bin/bash -c "/usr/local/bin/php /var/www/html/artisan importer:auto-import $PATHTOFILES/import_files" fi