Changeset 7282 for trunk/MagicSoft/Mars/datacenter
- Timestamp:
- 08/11/05 01:17:28 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/datacenter/scripts/runcallisto
r7265 r7282 56 56 cd $mars 57 57 58 date > $lockpath/lock-getting-callisto-list.txt >> $scriptlog 2>&159 checklock0=$?60 case $checklock0 in61 0) echo "checklock0=$checklock0 -> continue " >> $scriptlog 2>&1;;62 1) echo "checklock0=$checklock0 -> file exists " >> $scriptlog 2>&163 echo "-> getting list for callisto is running -> exit" >> $scriptlog 2>&164 date >> $scriptlog 2>&165 exit;;66 *) echo "checklock0=$checklock0 -> something went completely wrong" >> $scriptlog 2>&1;;67 esac68 69 58 echo "checking if other todo-files are there" >> $scriptlog 2>&1 70 59 if ls $todofile-[1-9]*.txt >> $scriptlog 2>&1 … … 73 62 echo " -> choose one file and start calibrating" >> $scriptlog 2>&1 74 63 else 64 date > $lockpath/lock-getting-callisto-list.txt >> $scriptlog 2>&1 65 checklock0=$? 66 case $checklock0 in 67 0) echo "checklock0=$checklock0 -> continue " >> $scriptlog 2>&1;; 68 1) echo "checklock0=$checklock0 -> file exists " >> $scriptlog 2>&1 69 echo "-> getting list for callisto is running -> exit" >> $scriptlog 2>&1 70 date >> $scriptlog 2>&1 71 exit;; 72 *) echo "checklock0=$checklock0 -> something went completely wrong" >> $scriptlog 2>&1;; 73 esac 74 75 75 echo "getting list..." >> $scriptlog 2>&1 76 76 check0=`root -q -b $macrospath/getdolist.C+\("\"$table\""\,"\"$column\""\,"\"$date\""\,"\"$listpath\""\) | tee $getstatuslog | grep int | sed -e 's/(int)//'` … … 80 80 *) echo "check0=$check0 -> ERROR -> step has to be repeated" >> $scriptlog 2>&1;; 81 81 esac 82 rm -v $lockpath/lock-getting-callisto-list.txt >> $scriptlog 2>&1 82 83 fi 83 84 84 rm -v $lockpath/lock-getting-callisto-list.txt >> $scriptlog 2>&185 85 86 86 nr=bla 87 87 echo "finding the right todo-file" >> $scriptlog 2>&1 88 todofiles=`ls $listpath/ToDo-$table-$column-*`88 todofiles=`ls -r $listpath/ToDo-$table-$column-*` 89 89 90 90 echo "todofiles: "${todofiles[@]} >> $scriptlog 2>&1
Note:
See TracChangeset
for help on using the changeset viewer.