I was using a script to perform rsync in sudo crontab
. The script does a 2-way rsync (from serverA to serverB and reverse). After I reboot both the server machines, the rsync is not working in sudo crontab
. I also setup a new cronjob and it fails, The error is:
rsync error: unexplained error (code 255) at io.c(600) [sender=3.0.6]
rsync: connection unexpectedly closed (0 bytes received so far) [receiver]
However, when run from terminal, the rync script works as expected without issues. please help.