Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Perl Daemon Calling a script

by Anonymous Monk
on Jan 24, 2013 at 01:16 UTC ( #1015053=note: print w/replies, xml ) Need Help??


in reply to Perl Daemon Calling a script

I wish I could use Proc::Daemon, but I need to resort the creating my own daemon code.

:) obligatory Yes, even you can use CPAN Top 11 (GOOD) reasons not to use someone else's Modules, Top Seven (Bad) Reasons Not To Use Modules

Replies are listed 'Best First'.
Re^2: Perl Daemon Calling a script
by perlology (Initiate) on Jan 24, 2013 at 01:52 UTC
    Understood .. The context in which I work does not allow me to easily to add modules to the system. My technical questions still stand. Are my problems with the script because of the daemon code? The script works well manually from the commandline .....

      If it works well from the command line, but is giving you trouble when you execute it in some other way, it's frequently an environmental issue. A couple things to check:

      • Does the account you're running it from have permissions to access/execute everything?
      • Starting an account without using login (such as when running from cron) frequently has a different PATH and other environment variables set up. I typically print a copy of all the %ENV values when debugging problems like this.

      ...roboticus

      When your only tool is a hammer, all problems look like your thumb.

        Pragmatism works very well ... Solved my problems perfectly .. Thank you ...

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1015053]
help
Chatterbox?
marioroy At a large firm, had to awaken a security guy a few times so that nobody would catch him sleeping.
marioroy On a large dairy farm, almost went off the road with a 10 wheeler from exhaustion. On the farm, almost went off the silo with a big tractor. At the Fransiscan monastery, almost slipped off the dome while painting it.
[marioroy]: In Saudi Arabia caught fire but didn't burn. I think angels exist.
Lady_Aleena clean up after dinner finally.
[Discipulus]: uch! so we are twice lucky to have MCE..;=)
[marioroy]: Working a midnight graveyard shift, on the way home ran out of gas. just 2 minutes later somebody stops with a small tank of gas. It's wierd. There's always someone nearby for some reason.

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (7)
As of 2017-05-29 08:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?