Skip to content

Commit

Permalink
Update readme.md - Regular sync rsync script had mistake
Browse files Browse the repository at this point in the history
docker command with -it cannot re run as cronjob - getting error that "Device is no TTY"

Signed-off-by: foegra <[email protected]>
  • Loading branch information
foegra authored Dec 6, 2024
1 parent c130cc0 commit b11f22b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -608,7 +608,7 @@ rm "$TARGET_DIRECTORY/aio-lockfile"
umount "$DRIVE_MOUNTPOINT"

if docker ps --format "{{.Names}}" | grep "^nextcloud-aio-nextcloud$"; then
docker exec -it nextcloud-aio-nextcloud bash /notify.sh "Rsync backup successful!" "Synced the backup repository successfully."
docker exec -i nextcloud-aio-nextcloud bash /notify.sh "Rsync backup successful!" "Synced the backup repository successfully."
else
echo "Synced the backup repository successfully."
fi
Expand Down

0 comments on commit b11f22b

Please sign in to comment.