Changeset 31488
- Timestamp:
- May 6, 2011, 6:32:21 PM (15 years ago)
- File:
-
- 1 edited
-
trunk/ippTasks/lap.pro (modified) (15 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippTasks/lap.pro
r31486 r31488 172 172 ipptool2book stdout lapNewRuns -uniq -key lap_id -setword dbname $options:0 -setword pantaskState INIT 173 173 174 process_cleanup lapNewRuns 175 174 176 if ($VERBOSE > 2) 175 177 book listbook lapNewRuns … … 207 209 208 210 209 book getpage lapNewRuns $lap_NewPage -var lapNewPageName211 book getpage lapNewRuns -var lapNewPageName -key pantaskState INIT 210 212 211 213 $lap_NewPage ++ 212 214 if ($lap_NewPage >= $N) set lap_NewPage = 0 213 214 215 215 216 if ("$lapNewPageName" == "NULL") break … … 220 221 221 222 option $LAP_ID 222 book delpage lapNewRuns $LAP_ID223 223 224 224 $run = lap_science.pl --chip_mode --dbname $DBNAME --lap_id $LAP_ID … … 230 230 # success 231 231 task.exit 0 232 process_exit lapNewRuns $options:0 0 232 233 if ($VERBOSE > 2) 233 234 book listbook lapNewRuns … … 236 237 # locked list 237 238 task.exit default 238 showcommand failure 239 end 240 task.exit crash 241 showcommand crash 242 end 243 #operation times out? 244 task.exit timeout 239 process_exit lapNewRuns $options:0 0 240 showcommand failure 241 end 242 task.exit crash 243 process_exit lapNewRuns $options:0 0 244 showcommand crash 245 end 246 #operation times out? 247 task.exit timeout 248 process_exit lapNewRuns $options:0 0 245 249 showcommand timeout 246 250 end … … 286 290 task.exit 0 287 291 ipptool2book stdout lapRunRuns -uniq -key lap_id -setword dbname $options:0 -setword pantaskState INIT 292 293 process_cleanup lapRunRuns 288 294 289 295 if ($VERBOSE > 2) … … 323 329 324 330 325 book getpage lapRunRuns $lap_RunPage -var lapRunPageName331 book getpage lapRunRuns -var lapRunPageName -key pantaskState INIT 326 332 327 333 $lap_RunPage ++ … … 335 341 336 342 option $LAP_ID 337 book delpage lapRunRuns $LAP_ID338 343 339 344 $run = lap_science.pl --monitor_mode --dbname $DBNAME --lap_id $LAP_ID … … 345 350 # success 346 351 task.exit 0 347 if ($VERBOSE > 2) 352 process_exit lapRunRuns $options:0 0 353 if ($VERBOSE > 2) 354 348 355 book listbook lapRunRuns 349 356 end … … 351 358 # locked list 352 359 task.exit default 353 showcommand failure 354 end 355 task.exit crash 356 showcommand crash 357 end 358 #operation times out? 359 task.exit timeout 360 process_exit lapRunRuns $options:0 0 361 showcommand failure 362 end 363 task.exit crash 364 process_exit lapRunRuns $options:0 0 365 showcommand crash 366 end 367 #operation times out? 368 task.exit timeout 369 process_exit lapRunRuns $options:0 0 360 370 showcommand timeout 361 371 end … … 402 412 ipptool2book stdout lapDoneRuns -uniq -key lap_id -setword dbname $options:0 -setword pantaskState INIT 403 413 414 process_cleanup lapDoneRuns 404 415 if ($VERBOSE > 2) 405 416 book listbook lapRuns … … 437 448 438 449 439 book getpage lapDoneRuns $lap_DonePage -var lapDonePageName450 book getpage lapDoneRuns -var lapDonePageName -key pantaskState INIT 440 451 441 452 $lap_DonePage ++ … … 448 459 book getword lapDoneRuns $lapDonePageName dbname -var DBNAME 449 460 450 book delpage lapDoneRuns $LAP_ID 451 461 option $LAP_ID 452 462 $run = lap_science.pl --cleanup_mode --dbname $DBNAME --lap_id $LAP_ID 453 463 … … 458 468 # success 459 469 task.exit 0 460 470 process_exit lapDoneRuns $options:0 0 461 471 if ($VERBOSE > 2) 462 472 book listbook lapDoneRuns … … 465 475 # locked list 466 476 task.exit default 467 showcommand failure 468 end 469 task.exit crash 470 showcommand crash 471 end 472 #operation times out? 473 task.exit timeout 474 showcommand timeout 475 end 476 end 477 process_exit lapDoneRuns $options:0 0 478 showcommand failure 479 end 480 task.exit crash 481 process_exit lapDoneRuns $options:0 0 482 showcommand crash 483 end 484 #operation times out? 485 task.exit timeout 486 process_exit lapDoneRuns $options:0 0 487 showcommand timeout 488 end 489 end
Note:
See TracChangeset
for help on using the changeset viewer.
