Alex Rivera | Logout

What are options available to get cron's results and how to set them up?

Asked 2008-09-04T08:35:16.767
11

I know that default cron's behavior is to send normal and error output to cron's owner local email box.

Is there other ways to get theses results (for example to send it by email to a bunch of people, to store them somewhere, and so on) ?

Edit
Report

1 Answer

4

This may be an unnecessary addition, but to qualify the redirection commands:

> redirects standard output

2 is a Bourne shell specific term that means standard error

1 is a Bourne shell specific term that means standard output

2>&1 means redirect the standard error to standard output

Also see the following useful article Standard Input and Output Redirection

answered 2008-09-04T08:52:42.870

Your Answer