- Timestamp:
- Mar 6, 2011, 2:34:55 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20110213/pstamp/scripts/pstampstopfaulted
r29428 r30812 1 #!/bin/bash 2 # 3 # script executed by the task pstamp.stopfaulted to stop proceessing of jobs 4 # and dependents that have fault_count >= some maximum value. That value is expected 5 # to be passed in as an argument otherwise the default in pstamptool is used 6 # All arguments are passed to pstamptool 1 7 2 # script executed by the task pstamp.stopfaulted to stop proceessing of jobs 3 # and dependents that have faulted 5 or more times 4 # all arguments to this script are passed to pstamptool 5 6 # 25 is PSTAMP_NOT_AVAILABLE 8 # note: 25 is PSTAMP_NOT_AVAILABLE 7 9 fault_code=25 8 fault_count=39 10 10 11 date 11 12 echo stopping faulted dependent jobs 12 pstamptool -stopdependentjob -set_fault $fault_code -fault_count $fault_count $* 13 cmd="pstamptool -stopdependentjob -set_fault $fault_code $*" 14 echo $cmd 15 $cmd 13 16 14 17 echo stopping faulted jobs 15 pstamptool -updatejob -state run -set_state stop -set_fault $fault_code -fault_count $fault_count $* 18 cmd="pstamptool -updatejob -state run -set_state stop -set_fault $fault_code $*" 19 echo $cmd 20 $cmd
Note:
See TracChangeset
for help on using the changeset viewer.
