Changeset 16370 for trunk/ippTasks/summit.copy.pro
- Timestamp:
- Feb 8, 2008, 9:34:58 AM (18 years ago)
- File:
-
- 1 edited
-
trunk/ippTasks/summit.copy.pro (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippTasks/summit.copy.pro
r16349 r16370 75 75 76 76 # timeout shorter than exec so jobs do not build up 77 periods -exec 30078 periods -poll 10079 periods -timeout 60077 periods -exec 10 78 periods -poll 1 79 periods -timeout 20 80 80 npending 1 81 81 … … 100 100 # run pzgetexp periodically to populate pzPendingExp in the database (no I/O) 101 101 task pzgetexp 102 # timeout shorter than exec so jobs do not build up103 102 periods -exec 10 104 103 periods -poll 1 105 periods -timeout 10104 periods -timeout 20 106 105 npending 1 107 106 host local … … 153 152 host local 154 153 155 # timeout shorter than exec so jobs do not build up156 154 periods -exec 10 157 155 periods -poll 1 158 periods -timeout 10156 periods -timeout 20 159 157 npending 1 160 158 … … 247 245 host local 248 246 249 # timeout shorter than exec so jobs do not build up 250 periods -exec 5 251 periods -poll 1 252 periods -timeout 5 247 periods -exec 10 248 periods -poll 1 249 periods -timeout 20 253 250 npending 1 254 251 … … 334 331 options $pageName $workdir 335 332 336 $run = dsget --uri $URI --filename $FILENAME --bytes $BYTES 337 if (("$MD5SUM" != "NULL") && ("$MD5SUM" != "0")) 333 $run = dsget --uri $URI --filename $FILENAME 334 if ($COMPRESS) 335 $run = $run --compress 336 else 337 $run = $run --bytes $BYTES 338 end 339 if (("$MD5SUM" != "NULL") && ("$MD5SUM" != "0") && (not($COMPRESS))) 338 340 $run = $run --md5 $MD5SUM 339 341 end … … 383 385 task.exit default 384 386 showcommand failure 387 388 # get related info from the associated page 389 book getword pzPendingImfile $options:0 exp_name -var EXP_NAME 390 book getword pzPendingImfile $options:0 class -var CLASS 391 book getword pzPendingImfile $options:0 camera -var CAMERA 392 book getword pzPendingImfile $options:0 telescope -var TELESCOPE 393 book getword pzPendingImfile $options:0 class_id -var CLASS_ID 394 book getword pzPendingImfile $options:0 filename -var FILENAME 395 396 # we saved the workdir so we can pass it to pztool 397 $workdir = $options:1 398 399 # update the database with the fault state 400 $run = pztool -copydone -exp_name $EXP_NAME -inst $CAMERA -telescope $TELESCOPE -class $CLASS -class_id $CLASS_ID -uri $FILENAME -workdir $workdir -code $JOB_STATUS -end_stage reg 401 402 # create the command line 403 if ($VERBOSE > 1) 404 echo exec $run 405 end 406 exec $run 407 408 # update the pantasks process tables 385 409 process_exit pzPendingImfile $options:0 $JOB_STATUS 386 410 end
Note:
See TracChangeset
for help on using the changeset viewer.
