crontab question involving cvsup

Lucas Holt luke at foolishgames.com
Thu Aug 26 08:49:06 PDT 2004


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
Luke at FoolishGames.com
________________________________________________________
FoolishGames.com  (Jewel Fan Site)
JustJournal.com (Free blogging)



More information about the freebsd-questions mailing list