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 "<"


then this gets mailed to me everyday with the outcome and the ports that need updating.


Lucas Holt
[EMAIL PROTECTED]
________________________________________________________
FoolishGames.com  (Jewel Fan Site)
JustJournal.com (Free blogging)

_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to