Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Mechanism for ensuring only one instance of a Perl script can only run?

by stevieb (Canon)
on Dec 02, 2022 at 16:41 UTC ( [id://11148502]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use Script::Singleton;
    
  2. or download this
    use Script::Singleton glue => 'UNIQUE GLUE STRING';
    
  3. or download this
    use warnings;
    use strict;
    ...
    use Script::Singleton warn => 1;
    
    sleep 5;
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (4)
As of 2024-04-19 23:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found