Question

Locked

vb script to kill and start up a process

By coolrefche ·
Hi,

I have been tasked to write a vb script however I have never written anything in vb hence need your help.

the script needs to do the following:

- check if a process if running
- if it does, sleep for one hour
- after 1 hour check again if the process is running, kill it if it does
- wait for it to die,
- start it up (log on using username and password)
- wait for it to start up
- if it is not running after 1 hour then start it up (log on using username and password)
- wait for it to start up
- log all above events/activities

process must use interactive log on hence should always appear as running in the list of process.

hope you can help... anything will do as i am not familar with vb.

thanks in advance.

refche

This conversation is currently closed to new comments.

0 total posts (Page 1 of 1)  
Thread display: Collapse - | Expand +

All Answers

Share your knowledge
Back to Software Forum
0 total posts (Page 1 of 1)  

Related Discussions

Related Forums