Re: Flock Explanation

2012-05-23 Thread Craig A. Adams
ho /data/backups/scripts/backup-disk-1.sh | at now + 1 minute From your info, I guess I can now use... /data/backups/scripts/start-disk-1.sh #!/bin/bash echo flock -xn /tmp/disk-1-lock /data/backups/scripts/backup-disk-1.sh | at now + 1 minute Kindest Regards Craig A. Adams -- To UNSUB

Re: Flock Explanation

2012-05-23 Thread Craig A. Adams
n't matter (though don't choose stdout :D) So it is not actually creating the lock file? So I must make sure the lock file exists in advance? Kindest Regards Craig A. Adams -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". T

Flock Explanation

2012-05-23 Thread Craig A. Adams
y creating the lock file using the > redirector. But what is the 200 again? Kindest Regards Craig A. Adams -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/4fbd0f7d.7080...@iafrica.com

Re: Automatic Backup Script Help

2012-05-23 Thread Craig A. Adams
rive is mounted? Kindest Regards Craig A. Adams -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/4fbc92fd.9000...@iafrica.com

Automatic Backup Script Help

2012-05-22 Thread Craig A. Adams
ternal hard drive umount ${backup_target} # Set backup finish time finish_date_time='date +%Y-%m-%d-%H:%M:%S' # End of backup message echo "${backup_description} Automatic Backup finished at ${finish_date_time}." # Send eMail Log of backup sendemail -f ${from_addr} -t