Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: net ssh perl pukes when ...

by RMGir (Prior)
on Apr 21, 2003 at 18:07 UTC ( #252077=note: print w/replies, xml ) Need Help??


in reply to net ssh perl pukes when ...

cron jobs usually run with a limited environment.

Try running

perl -e'print "$_ => $ENV{$_}\n" foreach sort keys %ENV' > cron.out
from the crontab, and run the same command from the command line. (with a different output file, of course)

I'm betting the difference between the 2 environments will explain your problem.
--
Mike

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (4)
As of 2022-12-04 16:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?