Update emulator-sync-scripts.sh

This commit is contained in:
2023-07-15 15:59:17 -05:00
parent f047a7b2b9
commit 7b67dea90a

View File

@@ -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