mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-12-19 22:16:49 +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:
parent
c130cc0c0f
commit
b11f22b0e5
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue