mirror of
https://github.com/nextcloud/all-in-one.git
synced 2026-05-29 15:00:09 +00:00
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 <foegra@yahoo.com>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user