[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: privilege that rc.local runs under?
On Tue, Sep 23, 2003 at 03:30:02PM -0400, Matt Van Mater wrote:
> I was thinking I might make a cron job that looks at the errata
> page and if there were changes made, immediately kick off a
> fully automated release build process. It's not all that
> useful, but it seems like a fun little script I can write in a
> short while.
In the spirit of rope-giving, a more interesting approach would be
to do a CVS update of /usr/src and doing the update if there is
any output (don't forget the ``-q'' flag). Setting the cron job to
run more than once a day would be excessive. Even once a day may
be too much.
You're also assuming, of course, that you won't be getting partial
updates out of CVS--that is, that you don't just happen to hit the
server when some, but not all, of the updates have been committed.
Cheers,
b&
--
Ben Goren
mailto:ben@trumpetpower.com
http://www.trumpetpower.com/
icbm:33o25'37"N_111o57'32"W
[demime 0.98d removed an attachment of type application/pgp-signature]