Changeset 9147 for trunk/MagicSoft/Mars/datacenter/scripts/fillcamera
- Timestamp:
- 11/11/08 10:38:56 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/datacenter/scripts/fillcamera
r9144 r9147 124 124 pquery=" select fRunNumber from MCRunProcessStatus where fFileName=\"$pedfile\" " 125 125 126 crun=`mysql -ss -u $user --password=$pw --host= vela$db -e " $cquery "`127 prun=`mysql -ss -u $user --password=$pw --host= vela$db -e " $pquery "`126 crun=`mysql -ss -u $user --password=$pw --host=$ho $db -e " $cquery "` 127 prun=`mysql -ss -u $user --password=$pw --host=$ho $db -e " $pquery "` 128 128 cnum=`printf %08d $crun` 129 129 pnum=`printf %08d $prun` … … 150 150 echo "P run already there, do mysql update" >> $scriptlog 2>&1 151 151 # continue 152 mysql -ss -u $user --password=$pw --host= vela$db -e " $pupdate "152 mysql -ss -u $user --password=$pw --host=$ho $db -e " $pupdate " 153 153 else 154 154 echo "linking P run for epoch $epo" >> $scriptlog 2>&1 155 155 ln -sv $pedfile $newpedfile >> $scriptlog 2>&1 156 mysql -ss -u $user --password=$pw --host= vela$db -e " $pupdate "156 mysql -ss -u $user --password=$pw --host=$ho $db -e " $pupdate " 157 157 fi 158 158 … … 161 161 echo "C run already there, do mysql update" >> $scriptlog 2>&1 162 162 # continue 163 mysql -ss -u $user --password=$pw --host= vela$db -e " $cupdate "163 mysql -ss -u $user --password=$pw --host=$ho $db -e " $cupdate " 164 164 else 165 165 echo "linking C run for epoch $epo" >> $scriptlog 2>&1 166 166 ln -sv $calfile $newcalfile >> $scriptlog 2>&1 167 mysql -ss -u $user --password=$pw --host= vela$db -e " $cupdate "167 mysql -ss -u $user --password=$pw --host=$ho $db -e " $cupdate " 168 168 fi 169 169
Note:
See TracChangeset
for help on using the changeset viewer.