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?

Replies are listed 'Best First'.
Re^2: The "Perl script on command line works but as cronjob it fails" story revisited
by karlgoethebier (Abbot) on Mar 05, 2013 at 11:12 UTC

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

    «The Crux of the Biscuit is the Apostrophe»