HylaFAX The world's most advanced open source fax server

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

Re: [hylafax-users] Having problems running sendfax from a bash script.



John Warren wrote:

I'd like to check the error code that sendfax returns, I assume it returns one, so I can return a error if the sendfax failed. So far I've not been able to get the return code. Can some one point me in the right direction?


sendfax does not provide a meaningful exit code. If you want to check the status of a submitted fax you have to refer to the doneq (or sendq) file (thus, use faxstat).

Thanks,

Lee.

____________________ 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@xxxxxxxxxxx < /dev/null
 *To learn about commercial HylaFAX(tm) support, mail sales@xxxxxxxxx*




Project hosted by iFAX Solutions