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.
|