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] Huge Problem




Hello,
Lee Howard <faxguy@deanox.com> writes:

> At 10:27 AM 1/25/01 +0100, Dieter Kluenter wrote:
> 
> >Changing KillTime in any config, that is hfaxd.conf, sendfax.conf or
> >~/.hylarc, as recommended in man sendfax didn'd work. If you have a
> >look at the source code, you will realise why that would not work.  Only
> sendfax -k
> >changes killtime for a single job. 
> >After all I changed the settings in the source code and recompiled
> >it. That works fine now.
> 
> Could you post the patch?

 In hfaxd/Jobs.c++ I changed:

  defJob.tts		= 0;	    // ``NOW''
    defJob.killtime	= 72*60*60;  // FAX_TIMEOUT
    defJob.retrytime	= 0;

In config.h I changed;

#define	FAX_REDIALS     3  	/* number times to dial phone */
#define	FAX_TIMEOUT   "now + 72 hours"  /* default job timeout(at syntax) */

In Jobs.c++ is a line

time_t tv=job.killtime - job.tts
        tv/(24*60*60), tv/(60*60)) %24,(tv/60)%60),

This line I haven't changed, but could be changed as well.


Regards

Dieter
-- 
Dieter Kluenter   | Systemberatung
BFI Rendering und Image Processing
Tel: 040.64861967 | Fax: 040.64891521


____________________ HylaFAX(tm) Users Mailing List _______________________
 To unsub: mail -s unsubscribe hylafax-users-request@hylafax.org < /dev/null




Project hosted by iFAX Solutions