Last change
on this file since 18679 was 18252, checked in by Daniela Dorner, 10 years ago |
removed lockfile
|
-
Property svn:executable
set to
*
|
File size:
797 bytes
|
Line | |
---|
1 | #!/bin/bash
|
---|
2 | #
|
---|
3 |
|
---|
4 | source `dirname $0`/../Sourcefile.sh
|
---|
5 | printprocesslog "INFO starting $0"
|
---|
6 | program=BuildSequences
|
---|
7 |
|
---|
8 | # removed, as this is taken care of in crontab
|
---|
9 | #set -C
|
---|
10 | ## check if script is already running
|
---|
11 | #lockfile=$lockpath/lock-$program.txt
|
---|
12 | #checklock
|
---|
13 |
|
---|
14 | logfile=$runlogpath"/BuildSequences-"$datetime".log"
|
---|
15 | date >> $logfile
|
---|
16 |
|
---|
17 | cd $mars
|
---|
18 |
|
---|
19 | check1=`root -q -b fact/processing/buildseqentries.C+\("\"$datapath\""\,"\"$seqpath\""\,1\,kFALSE\) | tee $logfile | intgrep`
|
---|
20 |
|
---|
21 | case $check1 in
|
---|
22 | 1) printprocesslog "INFO built sequences was successfully (check1=$check1)"
|
---|
23 | ;;
|
---|
24 | 0) printprocesslog "WARN connection to DB failed (check1=$check1)"
|
---|
25 | #check="no"
|
---|
26 | ;;
|
---|
27 | *) printprocesslog "ERROR buildseqentries.C failed (check1=$check1)"
|
---|
28 | #check=$check1
|
---|
29 | ;;
|
---|
30 | esac
|
---|
31 |
|
---|
32 | finish
|
---|
33 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.