diff --git a/emulator-sync-scripts.sh b/emulator-sync-scripts.sh index ec47e4e..070031f 100755 --- a/emulator-sync-scripts.sh +++ b/emulator-sync-scripts.sh @@ -44,7 +44,7 @@ RUNSYNC(){ fi if [ ! -f ${SYNC_FOLDER}/failures.txt ]; then echo "Sync Started" - ${ESFOLDER}/nextcloud-sync-cron/nextcloud-sync-cron.sh --verbose ${ESFOLDER}/nextcloud-client.conf + ${ESFOLDER}/nextcloud-sync-cron/nextcloud-sync-cron.sh --verbose --logdir ${SYNC_FOLDER} ${ESFOLDER}/nextcloud-client.conf echo "Sync Finished" if [ -f ${SYNC_FOLDER}/failures2.txt ] && [ ! -f ${SYNC_FOLDER}/failures.txt ]; then echo "$(date): Fixed" >> ${NC_PATH}/sync.log