Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: Cron Job Management

by gav^ (Curate)
on Jun 10, 2002 at 21:31 UTC ( [id://173310]=note: print w/replies, xml ) Need Help??


in reply to Cron Job Management

Using Proc::PID_File is a pretty straightforward way of making sure your process is only running once:
use Proc::PID_File; exit if hold_pid_file("/tmp/myscripts_name_here.pid");

gav^

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (6)
As of 2024-04-20 00:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found