Re: Script logic
2001-05-18 13:22:57
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
|
|
|