HylaFAX The world's most advanced open source fax server

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

Re: faxcron deletes seqf files



On Sun, 7 May 2000, Peter Stamfest wrote:

> 
> Hi,
> 
> It seems to me that the faxcron cronjob coming with hylafax 4.1beta1
> deletes the seqf file in the receive queue, if no faxes have been
> received during the AGERCV period. The same is true for the log
> seqf file.
> 
> Without having gone into the very very details of hylafax operation, I
> would think that this is not wanted. 
> 
> In reality, this might cause problems if faxes are automatically
> transferred to some storage area not under hylafax control. The lost seqf
> file would then lead to doubly generated filenames. 
> 
> Find a patch to 4.1beta2 [the same bug (?) exists in 4.1beta1] attached.
> 

Good call, but your patch is not portable.

	find log -not -name seqf -type f -mtime +$AGELOG -print >$JUNK
                 ^^^^
try
	find log ! -name seqf -type f -mtime +$AGELOG -print >$JUNK
> 

-- 
Tim Rice				Multitalents	(707) 874-1130
tim@trr.metro.net




Project hosted by iFAX Solutions