- Timestamp:
- 11/19/03 08:40:20 (21 years ago)
- Location:
- pykota/trunk
- Files:
-
- 2 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/conf/pykota.conf.sample
r1192 r1193 193 193 # If the value is not set, then the default BOTH applies. 194 194 # 195 # For mailto: external(/usr/bin/mycommand )195 # For mailto: external(/usr/bin/mycommand >/dev/null) 196 196 # 197 197 # You can use : … … 207 207 # Example : 208 208 # 209 # mailto: external(/usr/bin/callpager %(username)s "Quota problem on %(printername)s") 209 # mailto: external(/usr/bin/callpager %(username)s "Quota problem on %(printername)s" >/dev/null) 210 # 211 # NB : Don't forget to redirect your command's standard output somewhere 212 # (e.g. >/dev/null) so that there's no perturbation to the underlying 213 # layer (filter or backend) 210 214 # 211 215 mailto: both -
pykota/trunk/pykota/tool.py
r1192 r1193 22 22 # 23 23 # $Log$ 24 # Revision 1.56 2003/11/19 07:40:20 jalet 25 # Missing import statement. 26 # Better documentation for mailto: external(...) 27 # 24 28 # Revision 1.55 2003/11/18 23:43:12 jalet 25 29 # Mailto can be any external command now, as usual. … … 220 224 221 225 import sys 226 import os 222 227 import fnmatch 223 228 import getopt