Commit 98b4a2ec authored by Pietro Albini's avatar Pietro Albini

Remove unused cronjob

parent 26c62017
#!/bin/bash
PLANET=/srv/planet.ubuntu-it.org
PLANETWWW=$PLANET/www
PLANETSRC=$PLANET/planet
BZR=$PLANET/bzr
PLANETBZR=$BZR/planet-bzr
MEMBRIBZR=$BZR/membri
MEMBRIFACES=$MEMBRIBZR/images
THEMELIBS=$PLANETSRC/themes/light/libs
LOGFILE=/tmp/planet.log
# Update planet source
cd $PLANETBZR ; bzr pull ; cp -ax * $PLANETSRC
# Update config and members
cd $MEMBRIBZR ; bzr pull ; cp -ax config.ini $PLANETSRC
# Run planet udpate
echo "
#########################################################
New planet log: `date`
" >> $LOGFILE
cd $PLANETSRC ; ./planet.py >> $LOGFILE 2>&1
# Update the www
cp -ax $THEMELIBS $PLANETWWW
cp -ax $MEMBRIFACES $PLANETWWW
cp -ax $PLANETSRC/banners $PLANETWWW
cp -ax $PLANETSRC/output/* $PLANETWWW/
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment