Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re^3: RFC: A new module to help avoid running multiple instances of the same script (via cron, for example)

by Arunbear (Prior)
on Dec 05, 2009 at 21:47 UTC ( [id://811271]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    # open.pl
    use strict;
    ...
    use autodie;
    
    open HIGHLANDER, ">>/root/renew.cgi.highlander";
    
  2. or download this
    +% perl open.pl
    Can't open '>>/root/renew.cgi.highlander' for appending: 'Permission d
    +enied' at open.pl line 6
    +%
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (2)
As of 2024-04-24 16:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found