HP3000-L Archives

August 1999, Week 3

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:
Tony Summers <[log in to unmask]>
Reply To:
Tony Summers <[log in to unmask]>
Date:
Fri, 20 Aug 1999 16:37:51 +0100
Content-Type:
text/plain
Parts/Attachments:
text/plain (28 lines)
Without seeing the context of how you are using the variable, this should work in a job stream

setvar no_of_pause15 nnnnn 
SETVAR X 0 
WHILE X = 0 
     run <prog> 
     pause  !no_of_pause15
ENDWHILE

This sets up an infinite while loop which pauses nnnnn seconds between runs, so if you want one hour pause set nnnn=3600.

(Ps, pause is measured in seconds) 

>>> Richard Blake <[log in to unmask]> 20/08/99 >>>
I'm attempting to use the following variable and it doesn't seem to
work:

:SETVAR NO_OF_PAUSE15 240

The idea is that this causes the program to be executed every 60
minutes. The 240 is for 240 15 second pauses. 240x15=3600 3600 seconds
=60 minutes

It doesn't seem to work. Any ideas?

Thanks,
Richard

ATOM RSS1 RSS2