Skip to content
Permalink
master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
executable file 20 lines (14 sloc) 386 Bytes
#! /bin/sh -x
hostname=`hostname -s`
if [ ! -d /project/pbackup_$hostname ]
then
echo "$hostname: not a backup server" >&2
exit 1;
fi
PATH=/root/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin
cd /project/pbackup_$hostname
nohup bin/pbackup do_jobs &
nohup bin/pbackup do_jobs &
nohup bin/pbackup expire &
nohup bin/pbackup expire &
nohup bin/pbackup balance &