Hi,
This ought to be a fairly simple question, but I've googled and can't really
find the answer.
I'ld like to have the reports from the system cron jobs (daily run output,
security run output, weekly run output and monthly run output) sent to an
e-mail address other than root, but I want al
On Wed, 23 Aug 2006 10:05:14 -0400
"Lisa Casey" <[EMAIL PROTECTED]> wrote:
> 30 5 1 * * rootperiodic monthly 2>&1
> | sendmail [EMAIL PROTECTED]
> #
>
> but all I get is a blank email sent to [EMAIL PROTECTED]
does it work if you use the command "mail" instead ?
Lisa Casey wrote:
# Perform daily/weekly/monthly maintenance.
1 3 * * * rootperiodic daily 2>&1 |
sendmail [EMAIL PROTECTED]
15 4 * * 6 rootperiodic weekly 2>&1 |
sendmail [EMAIL PROTECTED]
30 5 1 * *
In the last episode (Aug 23), Lisa Casey said:
> This ought to be a fairly simple question, but I've googled and can't
> really find the answer.
>
> I'ld like to have the reports from the system cron jobs (daily run
> output, security run output, weekly run output and monthly run
> output) sent to
In response to "Lisa Casey" <[EMAIL PROTECTED]>:
> to this:
>
> # Perform daily/weekly/monthly maintenance.
> 1 3 * * * rootperiodic daily 2>&1 |
> sendmail [EMAIL PROTECTED]
This is a bad idea, mainly because (as you already know) it doesn't work :)
If you w
30 5 1 * * rootperiodic monthly 2>&1
| sendmail [EMAIL PROTECTED]
but all I get is a blank email sent to [EMAIL PROTECTED]
[...]
also.. using 2>&1 doesn't seem appropriate, afaik you would use
that in
crontab if you don't want to get emails via cron
You would
to this:
# Perform daily/weekly/monthly maintenance.
1 3 * * * rootperiodic daily
2>&1 | sendmail [EMAIL PROTECTED]
[...]
However, you might find it easier to just add the following line to
the
top of the crontab:
[EMAIL PROTECTED]
Which will cause all mai
In response to David King <[EMAIL PROTECTED]>:
> >> to this:
> >>
> >> # Perform daily/weekly/monthly maintenance.
> >> 1 3 * * * rootperiodic daily
> >> 2>&1 | sendmail [EMAIL PROTECTED]
> > [...]
> > However, you might find it easier to just add the following
Hi All,
Thanks for all of your help. Creating /etc/periodic.conf with the
appropriate data did the trick. I appreciate it.
Lisa Casey
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsu