Fix: dropbox now mounts in the cron job

This commit is contained in:
robocopAlpha 2021-07-21 06:55:46 +03:00
parent 50047c2bab
commit 9f46d0d70e
2 changed files with 3 additions and 1 deletions

View file

@ -23,7 +23,7 @@ if [[ -d "${HOME_DIR}/dropbox" ]]; then
else
mkdir "${HOME_DIR}/dropbox"
fi
rclone mount --daemon dropbox:blocklist "${HOME_DIR}/dropbox" --volname dropbox || { echo "Failed to mount dropbox. Execution terminated!"; exit 1; }
rclone mount --daemon dropbox:blocklist "${HOME_DIR}/dropbox" --volname=dropbox --config="${RCloneConfig}" || { echo "Failed to mount dropbox. Execution terminated!"; exit 1; }
cd "${WRK_DIR}/"
echo $(date +%d.%m.%y-%H:%M:%S) >| lastpull