HP3000-L Archives

July 1995, Week 4

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Guy Smith <[log in to unmask]>
Reply To:
Guy Smith <[log in to unmask]>
Date:
Mon, 24 Jul 1995 10:42:37 EDT
Content-Type:
text/plain
Parts/Attachments:
text/plain (31 lines)
FWIW, the best way to pick an intro time for a recurring job is it's
own intro time.  CI variable HPIntroTime is useful, but requires parsing
(see below).  Why HP chose the HH:MM xM format for this variable, instead
of HH:MM is beyond me.
 
Also, to assure that the job is past the original intro time, I tend to
use HPConnSecs to force the wait issue (again, see below).  I don't think
this is much better than the other suggestions offered, and I can't see
how it would get around Gavin's original issue of a suspect clock.
 
!while hpconnsecs<61 do
!  pause 15
!endwhile
!setvar hr  ![str(hpintrotime,1,2)]
!setvar mn  ![str(hpintrotime,4,2)]
!if str(hpintrotime,7,1)='P' then
!  setvar hr hr+12
!endif
!comment Resubmitting the job for !hr:!mn based on current intro of
!comment !hpintrotime
!stream test;at=!hr:!mn
 
 =======================================================================
Guy Smith                                Voice:  804-527-4000 ext 6664
Circuit City Stores, Inc.                  FAX:  804-527-4008
9950 Mayland Drive                      E-Mail:  [log in to unmask]
Richmond, VA 23233-1464         Private E-Mail:  [log in to unmask]
 
The thoughts expressed herein are mine and do not reflect those of my
employer, or anyone with common sense.

ATOM RSS1 RSS2