On Thu, Jun 25, 2009 at 8:55 PM, Matthew Dillon<dil...@apollo.backplane.com> wrote: > > mirror-stream only exits if the connection is lost so it is still a > good idea to check-start it with cron. I usually use lockf for that > and a simple script. Also make sure it isn't being verbose when run > from cron or poor cron will be collecting a very large temporary mail > file. > > 10 1 * * * (cd ~/adm; /usr/bin/lockf -k -t 0 .lockmirror ./do_mirror > 1) >
After reading the man page for 'lockf' I did not get how to implement it actually. Are '.lockmirror' and 'do_mirror' scripts? If so Please can I get to see them? thanks --Siju