Jump to content
Sign in to follow this  
sshrum

limit the compiled run to just one instance

Recommended Posts

Just put this at the beginnning of your script

If UBound(ProcessList(@ScriptName)) > 2 then Exit

I wrote and compiled a script and  only want 1 instance of the script to be running at any time.

I can't do a process check because it will always be there.

How do I limit the compiled run to just one instance?

TIA

<{POST_SNAPBACK}>

Edited by ILikeStuff

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...