Hylafax Mailing List Archives

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [hylafax-users] Post Send Information



Another problem.  The 'group id' returned by sendfax... is this a unique
number?  I found the xferfaxlog file, and it has the group...  I'm now
testing what happens when the send fails with this file...

Hmm, sendfax -w never returns on a job that doesn't succeed.  The log was
writtin to xferfaxlog, but the process never ended...

-----Original Message-----
From: Watson, Cory 
Sent: Thursday, July 25, 2002 1:48 PM
To: hylafax-users@hylafax.org
Subject: [hylafax-users] Post Send Information


Requirements for an application I am developing say that I must let the user
know whether the document succeeded or failed. My current code fetches jobs
from a db table, and sends them off with sendfax.  I use the -w option so
that the child processes used to handle the jobs only return when the job
has completed.

After the job returns, I can look for 'SEND FAILED' and grab the error
message.  That makes it easy to spot failures, but if the log does NOT have
that line, is it always a success?  This is a send-only environment, so I'm
not worried about incoming stuff.

Also, can I derive the number of attempts by counting the ATDT's in the log
file?

Am I missing an easier way to do this?  Email notification isn't what I'm
looking for, I'd rather just check a file or something after the job is
completed.

____________________ HylaFAX(tm) Users Mailing List _______________________
  To subscribe/unsubscribe, click http://lists.hylafax.org/cgi-bin/lsg2.cgi
 On UNIX: mail -s unsubscribe hylafax-users-request@hylafax.org < /dev/null

____________________ HylaFAX(tm) Users Mailing List _______________________
  To subscribe/unsubscribe, click http://lists.hylafax.org/cgi-bin/lsg2.cgi
 On UNIX: mail -s unsubscribe hylafax-users-request@hylafax.org < /dev/null



Home
Report any problems to webmaster@hylafax.org

HylaFAX is a trademark of Silicon Graphics Corporation.
Internet connectivity for hylafax.org is provided by:
VirtuALL Private Host Services