ADSM-L

Re: Script logic

2001-05-18 13:22:57
Subject: Re: Script logic
From: "Ford, Phillip" <Phillip.Ford AT SPCORP DOT COM>
Date: Fri, 18 May 2001 13:23:43 -0400
The way we do it is to reschedule itself for ten minutes later.  As follows:

select * from process where process='Backup Storage Pool'
if(rc_ok) goto resch
delete schedule this_sched t=a
now do my thing goes here
exit

resch:
delete schedule this_sched t=a
define schedule this_sched t=a cmd='run this_sched_macro' startt=now+0:10 -
   dur=15 duru=m per=1 peru=h active=yes
exit

Maybe not the best but it works.


--
Phillip Ford
Phillip Ford
Senior Software Specialist
Corporate Computer Center
Schering-Plough Corp.
(901) 320-4462
(901) 320-4856 FAX
phillip.ford AT spcorp DOT com



<Prev in Thread] Current Thread [Next in Thread>