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
_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to