All public logs
From Notes_Wiki
Combined display of all available logs of Notes_Wiki. You can narrow down the view by selecting a log type, the username (case-sensitive), or the affected page (also case-sensitive).
- 05:08, 19 May 2022 Saurabh talk contribs created page Restart rsync on failure via shell script (Created page with "Home > Shell scripting > Useful bash shell scripts > Restart rsync on failure via shell script It is possible to create shell script to restart rsync, if it exits with failure status (non-zero return value) using: <pre> #!/bin/bash while [ 1 ] do <rsync-command> if [ "$?" = "0" ] ; then echo "rsync completed normally" exit else echo "Rsync failed. Retrying..." sleep 180 fi done </pre> Here replac...")