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

Re: Keeping track of children from previous runs of a script

by atcroft (Monsignor)
on Mar 10, 2011 at 17:14 UTC ( #892455=note: print w/replies, xml ) Need Help??


in reply to Keeping track of children from previous runs of a script

My first thought in reading this was to use a database for maintaining the information, and functions so the additions would be consistent, but the additions to your code small.

I recently worked a project where I did something very similar. I logged the parent and child PIDs, as well as the date/time and a status, and made each function call self-contained as far as database access.

Hope that helps. (I look forward to the responses to this thread as well. :)

  • Comment on Re: Keeping track of children from previous runs of a script

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://892455]
help
Chatterbox?
[karlgoethebier]: Cojones! We need cojones!
[karlgoethebier]: Ouch! Permissions! We need permissions!
[BarApp]: I can not use modules. I gain temporary access and still can not use modules.
[Cosmic37]: ta erix - this szabo geezer is pretty cool methinks and he writes about undef but I cannot see instructions for redefining the record separator after having undefined it
[Corion]: $/ = "wahtever";
[Corion]: (it's a magic variable)
[karlgoethebier]: BarApp: whoami
[Cosmic37]: ok fankyou - I was wondering about that but thought there might be a redefine command or something; peachy

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (7)
As of 2017-06-29 16:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How many monitors do you use while coding?















    Results (672 votes). Check out past polls.