How and how often to run faxrunq

Chris Worley (cworley@altatech.com)
Tue, 20 Apr 1999 13:24:55 -0700


Gert Doering wrote:
> On Tue, Apr 20, 1999 at 12:42:28PM -0700, Chris Worley wrote:
> > > > When an incoming job is rec'd, how is "faxrunq" supposed to be run.  It
> > > > didn't seem to be setup automatically.  It should be run, somehow, as
> > > > soon as a file appears in the incoming directory.
> > > faxrunq is for outgoing jobs.
> >
> > I'm sorry... I did mean outgoing jobs.  How should faxrunq get
> > triggered?
> 
> Once by hand, if you want so, or (recommended) in regular intervals by
> "cron".

Any way to have it more tightly follow faxes incoming into the outgoing
directory?  Would it be a system burden to run an inittab script that
would continuously run "faxrunq", sleeping for a few seconds between
runs?

> 
> > > For incoming jobs, use "new_fax", it will be run as soon as the last page
> > > has been received (using the path name specified in "policy.h").
> >
> > That brings up another question.  I'm using the mgetty installed in SuSE
> > 5.3.  It makes an /etc/mgetty+sendfax directory for the configuration
> > files.  I put my new_fax script in their, but it didn't seem to work.  I
> > don't know how SuSE compiled their mgetty... so I don't know what was in
> > their policy.h.
> 
> Do a "strings" on the mgetty binary and search for new_fax, that should
> help:
> 
> gert@greenie$ strings mgetty |grep new_fax
> /usr/local/lib/mgetty+sendfax/new_fax
> 

Bingo! Suse keeps it in /usr/lib/mgetty+sendfax/new_fax, not where the
configuration files are kept.

Thanks,

Chris