e-mail from cron

2006-08-23 Thread Lisa Casey
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

Re: e-mail from cron

2006-08-23 Thread albi
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 ?

Re: e-mail from cron

2006-08-23 Thread Alex Zbyslaw
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 * *

Re: e-mail from cron

2006-08-23 Thread Dan Nelson
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

Re: e-mail from cron

2006-08-23 Thread Bill Moran
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

Re: e-mail from cron

2006-08-23 Thread David King
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

Re: e-mail from cron

2006-08-23 Thread David King
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

Re: e-mail from cron

2006-08-23 Thread Bill Moran
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

Re: e-mail from cron

2006-08-24 Thread Lisa Casey
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