/[BackupPC]/trunk/etc/cron.sh
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Contents of /trunk/etc/cron.sh

Parent Directory Parent Directory | Revision Log Revision Log


Revision 309 - (show annotations)
Sun Jan 29 14:43:06 2006 UTC (18 years, 3 months ago) by dpavlin
File MIME type: application/x-sh
File size: 349 byte(s)
require instance name

1 #!/bin/sh
2
3 instance=$1
4
5 if [ -z "$instance" ] ; then
6 echo "usage: $0 backuppc-instance"
7 exit 1;
8 fi
9
10 log="/data/$instance/log"
11
12 echo "Working on $instance"
13 test -d $log || mkdir $log || exit 1
14 ( /data/$instance/bin/BackupPC_updatedb 2>&1 ) | tee $log/updatedb.log
15 ( /data/$instance/bin/BackupPC_incPartsUpdate 2>&1 ) | tee $log/incPartsUpdate.log
16

Properties

Name Value
svn:executable *

  ViewVC Help
Powered by ViewVC 1.1.26