crontab question involving cvsup
Radek Kozlowski
radek at raadradd.com
Thu Aug 26 09:30:36 PDT 2004
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
More information about the freebsd-questions
mailing list