From b11f22b0e5cd1b6dc3c140a8182f2b5cce10f280 Mon Sep 17 00:00:00 2001 From: foegra Date: Fri, 6 Dec 2024 08:52:27 +0100 Subject: [PATCH] Update readme.md - Regular sync rsync script had mistake docker command with -it cannot re run as cronjob - getting error that "Device is no TTY" Signed-off-by: foegra --- readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/readme.md b/readme.md index 3eaeb81565d..a085078351d 100644 --- a/readme.md +++ b/readme.md @@ -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