Changeset 7284
- Timestamp:
- 08/11/05 04:54:03 (19 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r7283 r7284 25 25 * datacenter/scripts/runcallisto: 26 26 - improved locking 27 28 * datacenter/macros/getdolist.C: 29 - included removing of file for the case, that there's something 30 strange happening in the shell script 27 31 28 32 -
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.