Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: Determine if script is already running

by Limbic~Region (Chancellor)
on Mar 03, 2003 at 00:59 UTC ( [id://239922]=note: print w/replies, xml ) Need Help??


in reply to Determine if script is already running

Nitrox,
You mentioned that you are trying to make this work cross platform, this creates a problem. In Unix, it is possible to delete a file that is locked. I would suggest you use $$ and Proc::ProcessTable. It says Unix, but it does have a port to Cygwin.

Cheers - L~R

  • Comment on Re: Determine if script is already running

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://239922]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (5)
As of 2024-11-06 10:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    chatterbot is...






    Results (32 votes). Check out past polls.