I have a simple bash script that executes a
rsync command to sync a large number of files (4TB+) from a remote server to my local machine. Using
crontab -e I have set up a schedule for this script to run at a set time each day.
The crontab entry looks like this:
0 0 * * * bash /home/scripts/backup.sh
So I'm executing the script via bash. Three questions:
Is there anything in this execution pipeline that would timeout? Does RSYNC, BASH or CRON timeout? The rsync command could take many hours to execute.
Does CRON prevent script crossover, i.e. when the script is still running when the next schedule is due to execute? Is there a command or option for that?
Is there an execution log (from rsync, cron or bash) that allows me to check progress, diagnose any errors, etc.?