Changeset 29329
- Timestamp:
- Oct 5, 2010, 3:34:47 PM (16 years ago)
- File:
-
- 1 edited
-
trunk/ippTasks/pstamp.pro (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippTasks/pstamp.pro
r29144 r29329 16 16 $pstampRevDep_DB = 0 17 17 $pstampCleanup_DB = 0 18 $pstampStopFaulted_DB = 0 18 19 19 20 # set PS_DBSERVER if postage stamp database host is not the same as the value for DBSERVER in site.config … … 90 91 active false 91 92 end 92 task pstamp.job.revert93 active false94 end95 93 task pstamp.dependent.load 96 94 active false … … 108 106 active true 109 107 end 108 task pstamp.stopfaulted 109 active true 110 end 110 111 end 111 112 macro pstamp.revert.off … … 114 115 end 115 116 task pstamp.dependent.revert 117 active false 118 end 119 task pstamp.stopfaulted 116 120 active false 117 121 end … … 845 849 end 846 850 end 851 852 task pstamp.stopfaulted 853 host local 854 855 periods -poll $LOADPOLL 856 periods -exec 30 857 periods -timeout 300 858 npending 1 859 860 task.exec 861 stderr $LOGSUBDIR/pstamp.stopfaulted.log 862 stderr $LOGSUBDIR/pstamp.stopfaulted.log 863 $run = pstampstopfaulted 864 if ($DB:n == 0) 865 option DEFAULT 866 else 867 $run = $run $PS_DBSERVER -dbname $DB:$pstampStopFaulted_DB 868 $pstampStopFaulted_DB ++ 869 if ($pstampStopFaulted_DB >= $DB:n) set pstampStopFaulted_DB = 0 870 end 871 add_poll_args run 872 add_poll_labels run 873 command $run 874 end 875 876 task.exit $EXIT_SUCCESS 877 # nothing to do 878 end 879 880 task.exit default 881 showcommand failure 882 end 883 884 task.exit crash 885 showcommand crash 886 end 887 888 task.exit timeout 889 showcommand timeout 890 end 891 end
Note:
See TracChangeset
for help on using the changeset viewer.
