Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^2: Perl Daemon Calling a script

by perlology (Initiate)
on Jan 24, 2013 at 01:52 UTC ( #1015057=note: print w/replies, xml ) Need Help??


in reply to Re: Perl Daemon Calling a script
in thread Perl Daemon Calling a script

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 .....

Replies are listed 'Best First'.
Re^3: Perl Daemon Calling a script
by roboticus (Chancellor) on Jan 24, 2013 at 02:19 UTC

    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://1015057]
help
Chatterbox?
[ambrus]: 1nickg: obviously the gamers don't know. but anyway, I need the whole room backlit, because watching a monitor in a dark room (like many people do) is tiring for my eyes, even more so than doing it in a lit room.
[1nickt]: ambrus I agree. I suspect one's eyes are always trying to adjust across the boundary between very bright and very dark ... like a camera's autofocus struggling to choose the target.

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (15)
As of 2017-03-27 13:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (320 votes). Check out past polls.