Changeset 477

Show
Ignore:
Timestamp:
07/31/08 21:49:29 (4 months ago)
Author:
josef
Message:

- while running Hotstuff directly on commit comes with a performance issue, we can at least let the cronjob idle until something happens in the repository

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/hotstuff/scripts/maintenance.sh

    r439 r477  
    11#!/bin/sh 
    22 
    3 LOG=~/maintenance.log 
     3UPDATEFILE=~/.hotstuff_needs_update 
    44 
     5if [ ! -f $UPDATEFILE ]; then 
     6        exit 
     7fi 
     8rm -f $UPDATEFILE 
     9 
     10LOG=~/logs/maintenance.log 
     11 
     12mkdir -p ~/logs 
    513svn up ~/directory >/dev/null 
    614