< 1> #
< 2> # configuration file for run_fmirror
< 3> #
< 4> # this is a bash shell script which is sourced by /etc/cron.daily/fmirror
< 5> #
< 6> # The variables you may change in this config file are:
< 7> #	RUN_IN_BACKGROUND, NUMLOGS, NIGHTLY_JOBS, and DAY[0..6]
< 8> 
< 9> # do you want the mirror jobs to be run simultaneously? 0=false, 1=true
<10> RUN_IN_BACKGROUND=1
<11> 
<12> # how many days worth of old log files do you want to keep ?
<13> NUMLOGS=7
<14> 
<15> 
<16> # do not change the following line.
<17> TODAY=$(date +%w)
<18> 
<19> # list the basename(s) of each mirror job to run.
<20> #
<21> # each mirror job has a configuration file in /etc/fmirror, with the
<22> # filename of .conf.  List only the job names here, without the
<23> # .conf extension.
<24> #
<25> # Note: the quotes ("") are essential.
<26> 
<27> # jobs to be run every night
<28> 
<29> #NIGHTLY_JOBS="debian debian-incoming debian-non-US"
<30> NIGHTLY_JOBS="wu-ftpd OTP inn qmail-smtp ezmlm imap imap-patch"
<31> 
<32> # jobs to be run only on specific days.  0=Sun, 1=Mon, ..., 6=Sat
<33> #
<34> # note: do NOT list jobs in both NIGHTLY_JOBS and in DAY[0..6] otherwise
<35> # the job will be run twice simultaneously.
<36> 
37> DAY[0]="debian"
<38> DAY[1]=""
<39> DAY[2]=""
<40> DAY[3]=""
<41> DAY[4]=""
<42> DAY[5]=""
<43> DAY[6]=""
<44> 
<45> # do not change the following lines.
<46> JOBS="$NIGHTLY_JOBS ${DAY[$TODAY]}"
<47> 
<48> # delete any duplicate entries
<49> JOBS=$(echo $JOBS | xargs -n 1 echo | sort -u)
<50> 
<51> # if set, nightly logs are mailed to the specified user(s)
<52> #MAILTO=root