Hylafax Mailing List Archives

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

[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



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