Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re^2: The "Perl script on command line works but as cronjob it fails" story revisited

by karlgoethebier (Curate)
on Mar 05, 2013 at 12:16 UTC ( #1021815=note: print w/ replies, xml ) Need Help??


in reply to Re: The "Perl script on command line works but as cronjob it fails" story revisited
in thread The "Perl script on command line works but as cronjob it fails" story revisited

Hi tobyink, shure.

But what really confuses me is: No mail, no syslog but my tmp files get written.

Unfortunatly i can't remote this boxes cause i'm @home today...

But i'll take a look in depth at it (env) when i'm back in office.

I checked the other issues yesterday - OK

And honestly, i don't have any idea why environment matters in this case.

Perhaps i made some false assumptions: e.g. that this boxes are clones...(as been told by the admin who did the setup).

Thanks and regards, Karl...and i'll give some feedback

«The Crux of the Biscuit is the Apostrophe»


Comment on Re^2: The "Perl script on command line works but as cronjob it fails" story revisited
Re^3: The "Perl script on command line works but as cronjob it fails" story revisited
by roboticus (Canon) on Mar 05, 2013 at 14:33 UTC

    karlgoethebier:

    In my (unfortunate) experience, clones are only identical the moment they're cloned. Normally there's an immediate tweak so they don't collide on the network. But soon after a package gets installed on one but not the other, or someone tweaks the "production" server and forgets to tweak the "backup" server. Or they make a test on the "backup" without cleaning up.

    The long and short of it is that I no longer trust anyone's statements when they tell me the system is a "clone". That's the reason you need to check the environment, permissions, account setups, etc. for everything that matters to your code, or the code that your code relies on.

    ...roboticus

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

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (7)
As of 2014-09-23 09:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (216 votes), past polls