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] Anomoly with use of -a "HH:MM + n minutes"
On 2004.05.01 21:07 Hugh Esco wrote:
Hey folks:
Before I went to dinner this evening, I que'd up about two hundred
faxes
out of a perl script I'm developing. I have had lots of jobs in my
previous tests bomb out with errors like: Kill time expired. So this
evening as I was about to put out this next fax, I added the following
code to my developing script.
$count = $count + 1;
$delay = ($count * 2);
$starttime = "\"$time + $delay minutes \"";
my $SENDFAX = "sendfax -a $starttime -f \"";
etc., etc.
I would suggest altering the kill time rather than altering the send
time.
It started running and I went to eat. When I returned it was awfully
quiet here. Eighty-one jobs had successfully or unsuccessfully
completed. And faxstat -s was giving me reports that start out
like this:
575 127 P hesco 1-706-613-7123 0:0 0:12 Sun09PM
576 127 P hesco 1-706-797-3284 0:0 0:12 Sun09PM
577 127 P hesco 1-706.738.9166 0:0 0:12 Sun09PM
578 127 P hesco 1-745-4499 0:0 0:12 Sun09PM
579 127 P hesco 1-770- 0:0 0:12 Sun09PM
<snip>
Saying it would be abandoning this job until 9:00 pm tomorrow and not
finishing it until Monday morning.
The final job it que'd read:
sendfax -a "20:23 + 410 minutes " -f "hesco@xxxxxxxxxx" -R -n -d " The
Brunswick News@1-912-264-4973" /home/hesco/prsrls.pdf
/home/hesco/prsrls2.pdf
or a seven hour delay before it was scheduled to start, meaning it
should complete around 3:00 am Sunday morning.
What is up with this 18 hour additional delay? Any ideas?
Well, I don't know where you're getting $time from, but the scheduler
assumes you want to send it at the next occurrence of the -a
specification, not one in the past. So if you send a job utilizing
"20:23:00" and the time is now "20:23:01" then the scheduler will
assume that you mean tomorrow. Add 410 minutes (7 hours) to that, and
you end up with Monday morning at 3AM.
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*