Changeset 29515 for branches/eam_branches/ipp-20100823/ippTasks/pstamp.pro
- Timestamp:
- Oct 21, 2010, 2:45:13 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20100823/ippTasks/pstamp.pro
r28779 r29515 14 14 $pstampRev_DB = 0 15 15 $pstampDep_DB = 0 16 $pstampRevDep_DB = 0 16 17 $pstampCleanup_DB = 0 18 $pstampStopFaulted_DB = 0 17 19 18 20 # set PS_DBSERVER if postage stamp database host is not the same as the value for DBSERVER in site.config … … 89 91 active false 90 92 end 91 task pstamp.job.revert92 active false93 end94 93 task pstamp.dependent.load 95 94 active false … … 104 103 active true 105 104 end 105 task pstamp.dependent.revert 106 active true 107 end 108 task pstamp.stopfaulted 109 active true 110 end 106 111 end 107 112 macro pstamp.revert.off 108 113 task pstamp.job.revert 114 active false 115 end 116 task pstamp.dependent.revert 117 active false 118 end 119 task pstamp.stopfaulted 109 120 active false 110 121 end … … 513 524 stdout NULL 514 525 stderr $LOGSUBDIR/pstamp.job.revert.log 515 $run = pstamptool -revertjob -all526 $run = pstamptool -revertjob 516 527 if ($DB:n == 0) 517 528 option DEFAULT … … 798 809 end 799 810 811 task pstamp.dependent.revert 812 host local 813 814 periods -poll $LOADPOLL 815 periods -exec 900 816 periods -timeout 300 817 npending 1 818 819 task.exec 820 stdout NULL 821 stderr $LOGSUBDIR/pstamp.dependent.revert.log 822 $run = pstamptool -revertdependent 823 if ($DB:n == 0) 824 option DEFAULT 825 else 826 $run = $run $PS_DBSERVER -dbname $DB:$pstampRevDep_DB 827 $pstampRevDep_DB ++ 828 if ($pstampRevDep_DB >= $DB:n) set pstampRevDep_DB = 0 829 end 830 add_poll_args run 831 add_poll_labels run 832 command $run 833 end 834 835 task.exit $EXIT_SUCCESS 836 # nothing to do 837 end 838 839 task.exit default 840 showcommand failure 841 end 842 843 task.exit crash 844 showcommand crash 845 end 846 847 task.exit timeout 848 showcommand timeout 849 end 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.
