Quote:
What time does the daily cron start?
|
You can set cron at the hour you want
see man cron
Quote:
sudo rsync -av MYUSERNAME /media/BACKUPDISK/rsync
|
nake a cronjob for the user
you can make a cronjob for the user
as user:
crontab -e
You can add a verification to your script to see if the drive is connected at the time the script is executed.
# Lets see ithe HD is connected, if not quit
if mount | grep BACKUPDISK > /dev/null
then
rsync -av /media/BACKUPDISK/rsync
else
echo "No or wrong external HD connected"
echo "Please verify"
echo "Nothing to do here, so quitting"
exit 1
fi