Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Aug 2004 11:48:53 -0400
From:      Lucas Holt <luke@foolishgames.com>
To:        "Kevin D. Kinsey, DaleCo, S.P." <kdk@daleco.biz>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: crontab question involving cvsup
Message-ID:  <6E48C9AA-F777-11D8-82AF-000A95EFF4CA@foolishgames.com>
In-Reply-To: <412E0193.6080904@daleco.biz>
References:  <200408260007.26659.krinklyfig@spymac.com> <20040826034220.65118714@localhost> <200408260109.12229.krinklyfig@spymac.com> <412E0193.6080904@daleco.biz>

next in thread | previous in thread | raw e-mail | index | archive | help
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@FoolishGames.com
________________________________________________________
FoolishGames.com  (Jewel Fan Site)
JustJournal.com (Free blogging)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6E48C9AA-F777-11D8-82AF-000A95EFF4CA>