faxrunqd problem
Gert Doering (gert@greenie.muc.de)
Tue, 26 Jan 1999 22:21:29 +0100
Hi,
On Tue, Jan 26, 1999 at 01:14:59PM -0800, Devin Redlich wrote:
> Forgive me, my Perl is weak.
>
> I'm using faxrunqd (v. 1.35, run from init) to process my outgoing fax
> queue. I have one little problem when it comes to re-queuing faxes.
>
> I've done a little demo of my problem. I send a fax which fails due to a
> wrong phone number. I go into the ougoing/F001447 directory, fix the
> number in JOB.suspended, and mv JOB.suspended JOB. However, the job never
> gets sent. I can queue up a new job, and it'll be processed, but the old
> job remains. See below.
touch the file $outgoing/.queue_changed, otherwise it will take up to
an hour until faxrunqd will completely re-read the fax queue.
Or just use "faxq -r" to do the re-queueing.
> Now, I can run faxq and see my job is waiting:
>
> oscar:devin> faxq
> F001447/JOB: queued by devin. 1 page(s) to 2055191. pri=6.
>
> If I kill faxrunqd (and init restarts it), the job will be processed right
> away.
Sure. Up to that point, faxrunqd *knows* that the job has failed, and
doesn't look at the disk file at all (for load optimization). Once
per hour, it will forget everything, and re-read all from disk, or if
the file ".queue-changed" exists.
gert
--
Gert Doering
Mobile communications ... right now writing from *AWAY* :-))
... mobile phone: +49 177 2160221 ... or mail me: gert@greenie.muc.de