Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW

Re^3: CRON job failing but manual run works

by bart (Canon)
on Aug 15, 2012 at 20:40 UTC ( #987633=note: print w/replies, xml ) Need Help??

in reply to Re^2: CRON job failing but manual run works
in thread CRON job failing but manual run works

So it appears that since I run the script manually as "root" (issues on the practice using of the root user aside) it is using a different install of Perl than CRON, correct?
Use the full path to perl in cron. That's the easiest approach.
  • Comment on Re^3: CRON job failing but manual run works

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://987633]
[stevieb]: perldigious You should start by writing some unit tests. That'll ensure current functionality doesn't break with changes.
[choroba]: unit tests++
[choroba]: The only problem you can't solve by adding more tests is the problem of having too many tests.
[stevieb]: choroba Been there, done that :) Better too many than not enough though!

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (7)
As of 2017-07-21 20:00 GMT
Find Nodes?
    Voting Booth?
    I came, I saw, I ...

    Results (335 votes). Check out past polls.