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

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

by Corion (Pope)
on Mar 05, 2013 at 11:08 UTC ( #1021803=note: print w/ replies, xml ) Need Help??


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

There are a lot of things that you could still test in production to narrow down the error possibilities:

  1. Is /usr/local/bin/distaster.pl readable by karl?
  2. Is the /usr/local/bin/distaster.pl executable by karl?
  3. Can karl outside of cron run the script?
  4. Is the hashbang line (=first line) of the script #!/usr/bin/perl?
  5. Is SELinux interfering with command execution from cron?


Comment on Re: The "Perl script on command line works but as cronjob it fails" story revisited
Select or Download Code
Re^2: The "Perl script on command line works but as cronjob it fails" story revisited
by karlgoethebier (Vicar) on Mar 05, 2013 at 11:12 UTC

    Hi Corion, i did this all...Regards, Karl

    «The Crux of the Biscuit is the Apostrophe»

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (8)
As of 2015-05-06 08:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    In my home, the TV remote control is ...









    Results (130 votes), past polls