How to stop "at" command e-mail me!
Jeff Vian
jvian10 at charter.net
Sat Jul 31 21:03:13 UTC 2004
On Sat, 2004-07-31 at 15:09, Jorge Fábregas wrote:
> Hello all,
>
> I use mpg123 as a morning alarm. I place the job using the "at" command. I'm
> always getting output from the job (the mpg123 output bla bla) to my regular
> user mail. Fine..I just redirected stdout and stderr:
>
> /usr/local/bin/mpg123 $HOME/musicfile.mp3 > /dev/null 2>&1
>
> However, I still get mail saying "Job XXX Terminated..." I read the man page
> and searched Google but there's nothing out there. Anyone knows how to deal
> with it?
>
> Thanks,
> JOrge
>
1) use cron instead of at, and put a MAILTO="" at the head of the
crontab file.
2) set up an email filter to delete instead of deliver the message.
there may be other options available.
More information about the fedora-list
mailing list