140 | | # An additionnal posthook : |
141 | | #posthook_dummy : echo "$TEAJOBID : $TEAMD5SUM" >>/tmp/jobmd5sums |
| 140 | # Some additionnal hooks to forbid duplicate jobs : |
| 141 | # The prehook will use the history file to filter out duplicate jobs |
| 142 | # checkdupes is an hypothetical command which exits -1 if the current print |
| 143 | # job is a duplicate (same MD5 sum already found in history) |
| 144 | #prehook_to_filter_duplicates : /usr/local/bin/checkdupes $TEAMD5SUM /tmp/jobmd5sums |
| 145 | #posthook_to_filter_duplicates : echo "$TEAJOBID : $TEAMD5SUM" >>/tmp/jobmd5sums |