Date: Sat, 10 Apr 2004 15:05:37 -0400 From: Chuck Swiger <cswiger@mac.com> To: Kent Stewart <kstewart@owt.com> Cc: freebsd-questions@freebsd.org Subject: Re: Portupgrade problem Message-ID: <40784581.7080306@mac.com> In-Reply-To: <200404100833.34425.kstewart@owt.com> References: <4076527F.1060902@users.sourceforge.net> <200404091246.14178.kstewart@owt.com> <Pine.LNX.4.58.0404101647510.14866@Tempo.Update.UU.SE> <200404100833.34425.kstewart@owt.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Kent Stewart wrote: > On Saturday 10 April 2004 07:51 am, Andreas Davour wrote: >>Now I think I know how to do these things and after another upgrade I >>think I'm ready to at least do the cvsup part using cron. > > The hardest part of a cron job is finding that magic time after the hour > that never fails because your cvsup-mirror is over committed. The > mirrors always update on the hour and you have to wait at least 10 > minutes for the mirror to finish its cvsup. If you don't, you are > getting data from the mirror's previous update. Try something like: cvsup /etc/ports-supfile && portsdb -Uu ...as your cron job, or else put the commands into a script which you run from cron. The second command will run once the first command is finished, so you don't need to worry about the cvsup not finishing before doing the portsdb. [ I don't see a need to automaticly update the ports tree every hour from a cvsup mirror: doing so creates 24 cvsup sessions per day per machine. Isn't once a day frequent enough? :-) ] -- -Chuck
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?40784581.7080306>