We do this all the time.  The script is called migrate_check as follows:

select * from processes where process="Migration"
if(rc_ok) goto resch
delete schedule migrate_check t=a
expire inv
exit
resch:
delete schedule migrate_check t=a
define schedule migrate_check t=a cmd='run migrate_check' -
    startt=now+0:10 dur=15 per=1 peru=h active=yes

Hope that helps


--
Phillip Ford
Senior Software Specialist
Corporate Computer Center
Schering-Plough Corp.
(901) 320-4462
(901) 320-4856 FAX
[EMAIL PROTECTED]

 


-----Original Message-----
From: Robert Ouzen [mailto:[EMAIL PROTECTED]]
Sent: Monday, September 10, 2001 3:43 AM
To: [EMAIL PROTECTED]
Subject: Creating a script


Hi

Try to figure how to create a script file to make this:

  1. checking if migration from diskpool to tapepool is finish then running
an expiration inventory, if not checking again every 10 minutes

Thank you for the help ….

Regards Robert Ouzen
E-Mail: [EMAIL PROTECTED]

***************************************************************
 This message and any attachments is solely for the intended recipient. If
you are not the intended recipient, disclosure, copying, use, or
distribution of the information included in this message is prohibited --
please immediately and permanently delete this message.

Reply via email to