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

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

by pvaldes (Chaplain)
on Mar 06, 2013 at 01:46 UTC ( #1021925=note: print w/ replies, xml ) Need Help??


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

check /etc/cron.allow and /etc/cron.deny

check that the mail is not going to another mailbox (i.e the root of the prod machine), or that the mailbox of karl is not redirecting to another place, maybe out of the box. Try to put a CC order in the mail and see what happens

and take a look at crontab -u root -l and crontab -u karl -l in "prod", the line of cron can be in karl or in root and both can act differently. The crontabs for root and karl are in different archives also.


Comment on Re: The "Perl script on command line works but as cronjob it fails" story revisited
Re^2: The "Perl script on command line works but as cronjob it fails" story revisited
by karlgoethebier (Curate) on Mar 06, 2013 at 12:56 UTC

    Hi pvaldes!

    Did it. Every thing is OK.

    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://1021925]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (14)
As of 2014-09-19 08:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

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











    Results (133 votes), past polls