[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Alioth status update, take 3



On Wed, 15 Jun 2011 11:54:48 +0200, Joachim Breitner wrote:

> > For pkg-perl I've now:
> > - turned off the post-commit hook an vasks (since it's useless to
> >   update the PET cache there)
> > - added a cronjob on wagner  
> > So no live updates at the moment, but at least a reasonably up2date
> > status.
> sounds good enough. Can you share the cronjob you are using?

I have a small wrapper script for fetchdata because I always forget
the parameters :)

#v+
$ crontab -l
HOME=/home/users/gregoa
[..]
55 * * * * nice -n 10 $HOME/bin/pkg-perl-fetchdata

$ cat $HOME/bin/pkg-perl-fetchdata
#!/bin/sh

BASE=/var/lib/gforge/chroot/home/groups/pkg-perl

PERL5LIB=/var/lib/gforge/chroot/home/groups/pet/PET/bin
export PERL5LIB

$PERL5LIB/fetchdata -c $BASE/PET/pet.conf "$@"
#v-

(The paths could be simplified ...)

Cheers,
gregor
 
-- 
 .''`.   Homepage: http://info.comodo.priv.at/ - PGP/GPG key ID: 0x8649AA06
 : :' :  Debian GNU/Linux user, admin, & developer - http://www.debian.org/
 `. `'   Member of VIBE!AT & SPI, fellow of Free Software Foundation Europe
   `-    

Attachment: signature.asc
Description: Digital signature


Reply to: