Hello,
First, please note that version 6.2 is an very old version.
A little terminology - in OpenVMS lingo, "scripts" are called "command files", have have the file type ".COM". The command language is called DCL.
You have a lot of documentation for DCL commands on-line with the HELP command.
Websites:
The main OpenVMS website is http://www.hp.com/go/openvms.
The documentation is at http://h71000.www7.hp.com/doc/index...
DCL is documented at http://h71000.www7.hp.com/doc/83FIN...
You'll be interested in the DCL commands SUBMIT/AFTER, RUN/DETACH, SHOW SYSTEM/OUTPUT, IF, and probably OPEN, READ, CLOSE, and DELETE or PURGE.
A caution: you are looking for a process by name. OpenVMS allows multiple processes to have the same name, as long as those processes are assigned to different groups (the group is the first number of the User Identification Code, or UIC, assigned to every user and process.) You might want to double-check that there is only one process with this name.
To run a command file after a delay, use the SUBMIT command with the /AFTER qualifier. For instance, SUBMIT command.com /AFTER="+00:30:00" will run the command file in 30 minutes.
To run a command file repeatedly, put the SUBMIT command in the command file.
The SUBMIT command as I have shown it will create a log file, attempt to print it, and then delete it. You can add /KEEP/NOPRINT to keep the log file so you can check it for errors, but then you need to manage it, since every run of the command file will create an additional version.
Here's an idea of what the command file might look like. I've assumed that the file is named example.com. ** I Haven't Tested This! **
$ submit example.com/after="+00:30:00"/keep/noprint
$ show system/process="123"/out=sys$scratch:result.tmp
$ open/read result_file sys$scratch:result.tmp
$ read result_file result_line
$ if (result_line .eqs. "")
$ then
$ ... ! However you start your process
$ endif
$ close result_file
$ delete sys$scratch:result.tmp;*
$ purge example.log
$ rename example.log ;1
Good luck.