just have a shell script run mirror and check the exit status. If not 0 then rerun.
i..e $!/bin/sh RC=1 while [ $RC -ne 0 ] ; do mirror <with options> RC=$$ done I haven't tested this; however, hope this works and helps.... Later, Kevin Traas Baan Business Systems Systems Analyst Langley, BC, Canada [EMAIL PROTECTED] (604) 882-8169 -----Original Message----- From: Jeff Noxon <[EMAIL PROTECTED]> To: debian-user@lists.debian.org <debian-user@lists.debian.org> Date: Wednesday, August 20, 1997 6:23 AM Subject: Trouble mirroring ftp.debian.org, large FTP sites >I've been mirroring ftp.debian.org and a few other sites to make custom >CD-ROMs for friends and family. I have a 64K nailed-up ISDN connection >I use for this. > >The problem I keep running into with mirror is that it usually fails with >timed-out transfers, and then returns a zero exit status. So the only >way I can get my mirror up-to-date is to run a script that continuously >re-runs mirror. I can then kill this script by hand when it looks like >my archive is up-to-date. > >It would be nice if I could just have mirror re-run as long as it has not >successfully completed a full pass. Then I could schedule it from cron... > >Has anyone run into similar problems mirroring large FTP sites? >Any solutions? Debian is 1.7gb and growing! > >Thanks, > >Jeff > >-- >It's amazing: Each Windows release is slower, while Linux is speeding up... >PGP mail welcome! Visit http://www.planetfall.com/pgp.html for my PGP key. > > >-- >TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to >[EMAIL PROTECTED] . >Trouble? e-mail to [EMAIL PROTECTED] . > -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .