I see, this explains why you where talking about doing a big CVS commit..
The site documentation is all in CVS in the Maven generated format.
Therefore, when I make a change, and rerun the site docs, those changes in
the site docs caused by my change are then committed to CVS, and then this
job just pulls it out...  Correct?

I was thinking that you had some sort of Cruisecontrol type app where it was
pulling stuff out of cvs, running the site, and then uploading it...

Eric

> -----Original Message-----
> From: news [mailto:[EMAIL PROTECTED] Behalf Of Leo Simons
> Sent: Wednesday, October 29, 2003 8:09 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [site] going once, going twice...
>
>
> Eric Pugh wrote:
> > Does this cron job run on an apache server?
>
> yep. It's a very simple script that I run I my personal
> account. Its the
> way most projects keep their site updated; I believe Sam Ruby runs a
> script that updates a dozen sites.
>
> the crontab looks like (line break is Mozilla's):
>
> [EMAIL PROTECTED] ~]$ cat crontab.save
> 12 0-23/4 * * * /usr/local/bin/bash -c
> /home/leosimons/bin/avalon-site-up.sh
>
> and the script is real simple as well:
>
> [EMAIL PROTECTED] ~/bin]$ cat avalon-site-up.sh
> # simple script which updates the contents of
> # /www/avalon.apache.org/
>
> export LOG=/www/avalon.apache.org/cvsuplog.txt
>
> umask 002
> cd /www/avalon.apache.org
>
> # empty log
> echo > $LOG
>
> # do update
> echo 'Started:' `date` >> $LOG
> echo 'Updating site from cvs...' >> $LOG
> echo >> $LOG
> echo
> '---------------------------------------------------------' >> $LOG
> nice cvs -z3 up -P -d >> $LOG 2>&1 3>&1
> echo
> '---------------------------------------------------------' >> $LOG
> echo >> $LOG
> echo 'Done updating.' >> $LOG
> echo 'Finished:' `date` >> $LOG
> echo >> $LOG
>
>
> > Or is it something you run
> > locally?  I need a better way of keeping the Fulcrum
> content up to date then
> > doing it by hand...
>
> It should be obvious how to adapt the above to update the
> turbine site;
> if not ask for a little help on the [EMAIL PROTECTED] list :D
>
> - Leo
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to