HylaFAX The world's most advanced open source fax server

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

Re: 'Last Time' not shown in 'faxstat -d' properly



On 09 Sep 1999 14:47:24 +0200, hai scritto:

>This issue has been raised before, but I haven't noticed any helpful
>answer in the mail archives..
>
>I've noticed that hfaxd -- and, consequently, faxstat responses --
>never report the time-to-send nor the kill time for faxes in the done
>and send queues. In other words, fields corresponding to %z and %k
>always appear blank.
>
I use this
JobFmt:     "%-3j %Y %1a %6.6o %-14.14e %5P %5D %.25s"

then I use a faxstat wrapper to clean up  the labels:

==
open(FAX,"/usr/bin/faxstat @ARGV|");
while (<FAX>) {
    chomp;
    unless (/^JID/) {
        print substr($_,0,80) . "\n";
    }
    else {
        print "JID  Date       Time     S  Owner Number         Pages
Dials Stat
us\n"
    };
}
==

this is the output:

HylaFAX scheduler on i3: Running
Modem ttyS2 (+3901000000): Waiting for modem to come ready

JID  Date       Time     S  Owner Number         Pages Dials Status
1678 1999/09/09 09.43.25 D     so 0,00-00000000   1:1   1:12
1679 1999/09/09 11.43.12 D     so 0,000-0000000   1:1   1:12

-- 
giulioo@tiscalinet.it




Project hosted by iFAX Solutions