... and, to be fair to IBM, this behaviour, and how one should respond to
 
it, is documented in WAKEUP HELPCMS ...

<snip>
To make WAKEUP sleep all day, add a statement similar to this to your fil
e 
of WAKEUP TIMES:                   
                         
               
                         
                         
                         

     ALL 23:59:59 01/01/01                
                         
        
                         
                         
                         

Then WAKEUP will always have a reason to wait. When WAKEUP wakes up for 
   
this event, you could have your exec sleep for 1 minute. At the end of th
e 
1 minute it will be the next day. When your loop re-executes and WAKEUP i
s 
reinvoked, the WAKEUP TIMES file will be read for the next day. Otherwise
, 
WAKEUP will return when there are not any more tasks for today and will 
   
not sleep until tomorrow.
<snip>

(N.B that final sentence)

Regards
Jeff

Reply via email to