Date: Thu, 26 Aug 2004 18:30:41 +0200 From: Radek Kozlowski <radek@raadradd.com> To: Lucas Holt <luke@foolishgames.com> Cc: freebsd-questions@freebsd.org Subject: Re: crontab question involving cvsup Message-ID: <20040826163041.GC25551@werd> In-Reply-To: <6E48C9AA-F777-11D8-82AF-000A95EFF4CA@foolishgames.com> References: <200408260007.26659.krinklyfig@spymac.com> <20040826034220.65118714@localhost> <200408260109.12229.krinklyfig@spymac.com> <412E0193.6080904@daleco.biz> <6E48C9AA-F777-11D8-82AF-000A95EFF4CA@foolishgames.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Aug 26, 2004 at 11:48:53AM -0400, Lucas Holt wrote: > Here is my setup which works: > > crontab -e yeilds > 0 1 * * * /bin/sh /root/bin/port.sh 2>&1 | mail root > > port.sh contains: > #!/bin/sh > > /usr/local/bin/cvsup /etc/ports-supfile > /usr/local/sbin/portsdb -Uu > /usr/local/sbin/portversion -v | /usr/bin/grep "<" portversion -vl "<" would give the same results. Also, you might want to give portindex a try, which will do the same part as portsdb -U, but noticeably faster. -Radek
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040826163041.GC25551>