From: Steve W. <sw...@pa...> - 2004-01-31 16:53:16
|
I have three cron jobs: make the nightly build, update the demo site, and rebuild the test site. The scripts live in my home directory but perhaps these should be moved to the web site directory so others in the project can see them. -bash-2.05b$ cat demosite.sh #!/bin/bash # update the demo site cd $HOME/www/htdocs/demo /usr/bin/cvs -d:pserver:anonymous@cvs1:/cvsroot/phpwiki update -d -P $HOME/bin/cvs2cl.pl exit 0 -bash-2.05b$ cat testsite.sh #!/bin/bash cd $HOME/www/htdocs/test /usr/bin/cvs -d:pserver:anonymous@cvs1:/cvsroot/phpwiki update -dP /usr/bin/mysql -h pr-db1 -uphpwiki -p******** phpwiki < schemas/mysql.sql This morning there was a collision in mysql.sql, which I fixed on the test site. ~swain On Sun, 25 Jan 2004, Reini Urban wrote: > How is our daily cvs up to the demo site done? > I see no CVS subdirs, so I cannot fix index.php beforehand. > Or is it disabled anyway? > -- > Reini Urban > http://xarch.tu-graz.ac.at/home/rurban/ > > > > ------------------------------------------------------- > The SF.Net email is sponsored by EclipseCon 2004 > Premiere Conference on Open Tools Development and Integration > See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. > http://www.eclipsecon.org/osdn > _______________________________________________ > Phpwiki-talk mailing list > Php...@li... > https://lists.sourceforge.net/lists/listinfo/phpwiki-talk > > ---- http://www.panix.com/~swain/ "It has all the faults of a photograph." -- David Hockney ---- |