Hello mark,
AI>> exec "/usr/local/bin/hpt-incoming.sh" *.[pP][kK][tT]
AI>> *.[STFWMstfwm][ouaherOUAHER][0-9A-Za-z] *.[tT][iI][cC]
I have another exec line below that one that touches dotic.now to signal htick to toss incoming files.
==== Begin: "mark.txt" ====
exec "! touch /usr/local/fido/dotic.now" *.[tT][iI][cC]
==== End: "mark.txt" ====
ml> what are the contents of hpt-incoming.sh?
==== Begin: "hpt-incoming.sh" ====
#!/bin/bash
# This script will run HPT on incoming to toss & pack mail
hpt -q toss link
htick -q scan
hpt -q pack
if [ -f /usr/local/fido/dotic.now ]; then
rm /usr/local/fido/dotic.now
/usr/local/bin/htick toss
/usr/local/bin/mfreq-index
fi
==== End: "hpt-incoming.sh" ====
Ttyl :-),
Al
--- GoldED+/LNX 1.1.5-b20180707
* Origin: The Rusty MailBox - Penticton, BC Canada (1:153/757)
|