Changeset 7284 for trunk/MagicSoft/Mars/datacenter
- Timestamp:
- 08/11/05 04:54:03 (19 years ago)
- Location:
- trunk/MagicSoft/Mars/datacenter
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/datacenter/macros/getdolist.C
r7271 r7284 135 135 { 136 136 filename=Form("%s/ToDo-%s-%s-%s.txt", listpath.Data(), table.Data(), column.Data(), (*row)[0]); 137 gSystem->Unlink(filename); 137 138 ofstream fout(filename, ios::app); 138 139 if (!fout) -
trunk/MagicSoft/Mars/datacenter/scripts/runcallisto
r7282 r7284 73 73 esac 74 74 75 echo "getting list..." >> $scriptlog 2>&1 76 check0=`root -q -b $macrospath/getdolist.C+\("\"$table\""\,"\"$column\""\,"\"$date\""\,"\"$listpath\""\) | tee $getstatuslog | grep int | sed -e 's/(int)//'` 77 78 case $check0 in 79 1) echo "check0=$check0 -> everything ok -> run callisto" >> $scriptlog 2>&1;; 80 *) echo "check0=$check0 -> ERROR -> step has to be repeated" >> $scriptlog 2>&1;; 81 esac 75 if ls $todofile-[1-9]*.txt >> $scriptlog 2>&1 76 then 77 echo "other file(s) on disk " >> $scriptlog 2>&1 78 echo " -> choose one file and start calibrating" >> $scriptlog 2>&1 79 else 80 echo "getting list..." >> $scriptlog 2>&1 81 check0=`root -q -b $macrospath/getdolist.C+\("\"$table\""\,"\"$column\""\,"\"$date\""\,"\"$listpath\""\) | tee $getstatuslog | grep int | sed -e 's/(int)//'` 82 83 case $check0 in 84 1) echo "check0=$check0 -> everything ok -> run callisto" >> $scriptlog 2>&1;; 85 *) echo "check0=$check0 -> ERROR -> step has to be repeated" >> $scriptlog 2>&1;; 86 esac 87 fi 82 88 rm -v $lockpath/lock-getting-callisto-list.txt >> $scriptlog 2>&1 83 89 fi
Note:
See TracChangeset
for help on using the changeset viewer.