On Wed, 29 Oct 2014, Bj”rn Felten wrote to All:
BF> But I miss a semaphore file for e.g. starting a toss/scan
BF> without having to wait for an incoming mail package. More
BF> specifically when someone has written a message on my JamNNTPd
BF> server I used to put an fdxit2.60 file in FrontDoor's SEM folder to
BF> have it exit with errorcode 60, that starts the toss/scan.
my FD's haven't exited to toss/scan new mail since the early '90s... there's
been no need to do that since i put all that functionality in another script
file outside of the one controlling my FDs... with that said...
BF> In Argus' help file there's no mentioning of any such function,
BF> anybody with an idea?
set your cron to execute an external task which runs a script... have the
script look for the semaphore of your choice... if it exists, process the mail
otherwise exit the script... you'll probably want to have the script create its
own busy file and check for that first so that you don't have two instances of
the script trying to run at the same time... set the cronjob to run every
minute, or five minutes or whenever...
note that the above also means that users might have their mail sent before
they get a change to delete or rewrite it if they change their minds about
something in it ;)
)\/(ark
* Origin: (1:3634/12)
|