in reply to Unwanted instances of perl script

If you are using Linux, you can run a ps aux | grep <perl script> to see if it is currently running.

Now, everytime you run your script, do a check on this and make sure that the older process is finished before create a new one.

Replies are listed 'Best First'.
Re^2: Unwanted instances of perl script
by Corion (Patriarch) on Feb 23, 2009 at 19:04 UTC