Cost sheduling
Gert Doering (gert@greenie.muc.de)
Tue, 3 Aug 1999 20:36:18 +0200
Hi,
On Tue, Aug 03, 1999 at 03:05:13PM +0200, Sascha Ziemann wrote:
> is anybody working on a cost sheduling feature for mgetty like those
> in Tobits Faxware?
>
> For those who do not know how it works: Each facsimile has maximum
> delay time attribute:
>
> - sending at once
> - sending during the next 4 hours
> - sending during the next 8 hours
> - sending during the next week
>
> Faxware analyses the target number and calculates the cheapest time to
> send the facsimile.
No - right now, you have to tell faxspool "send at 18:00". This avoids
LOTS of trouble, and usually users just need "now" or "some time later
when it's cheap" (meaning "after 18:00") - and whether some time is
"cheap" or not is so different between countries where mgetty is in use
that it would be *really* hard to implement that... - you'd need a fully
configurable set of rules.
It is doable, but I do not consider it worth the effort - just use
"faxspool -t 18:00".
> Is there somewhere a reference documentation of the JOB files?
"man faxqueue" (which is in "see also" of "man faxspool"...)
> Is it wrong when I say, that the fuxrunq ist not very clever and that
> it would be nice to have something more flexible, a real spooling
> server like that of Hylafax?
faxrunq was never meant to be "clever" - it's meant to be *portable*. No
C++, no GNU AWK, no PERL, no BASH, no nothing but /bin/sh.
If you want clever scheduling (that's not "spooling", btw, but
"scheduling" - spooling is the easy part, just drop the job somewhere...)
use faxrunq*d*. It handles time scheduling, priorities, multiple modems
in parallel, job combining, policy routing ("send *this* job over *that*
modem"), number rewriting ("if the fax is for 08932356xxx, send to xxx,
and do not dial "0W" before it - it's inhouse"), etc.
gert
--
USENET is *not* the non-clickable part of WWW!
//www.muc.de/~gert/
Gert Doering - Munich, Germany gert@greenie.muc.de
fax: +49-89-35655025 gert.doering@physik.tu-muenchen.de