Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Improving the Error Handling of my Scripts

by Anonymous Monk
on Mar 10, 2010 at 19:39 UTC ( [id://827877]=note: print w/replies, xml ) Need Help??


in reply to Improving the Error Handling of my Scripts

Perhaps I'm missing something, but cron will mail a program's output to the owner's account. Just make sure you have the job owner's account correctly configured or in the 'aliases' file.

Perhaps not a glamorous perl solution, but it keeps the arcane out of your scripts.

If your script's STDOUT is already being mailed to a user other than you, have the cron job redirect it's STDERR to your mail.

  • Comment on Re: Improving the Error Handling of my Scripts

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (2)
As of 2024-04-26 03:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found