cron

Beecher Rintoul akbeech at gmail.com
Thu Dec 8 02:53:24 PST 2005


On Thursday 08 December 2005 01:39 am, Gerard Seibert wrote:
> On Thursday, December 08, 2005 5:23:10 AM, Beecher Rintoul
> <akbeech at gmail.com> Subject: cron
>
> Wrote these words of wisdom:
> > I have a script that is running in root's cron. The script runs
> > successfully, but it emails me on completion with info I don't need. Is
> > there a command I can add to have it not mail? I don't want to shut off
> > all crons mail, just that one job. The only thing I could find in the man
> > pages deal with mail globally.
> >
> > TIA,
> >
> > Beech
> On 10/11/2005 5:29:42 PM, Gerard Replied:
>
> Append this. sans quotation marks, to the end of the command:
>
> ">/dev/null 2>&1"
>
> That should do the trick.

Thanks, I'll give that a try.

Beech

-- 

---------------------------------------------------------------------------------------
Beech Rintoul - System Administrator - akbeech at gmail.com
/"\   ASCII Ribbon Campaign  | NorthWind Communications
\ / - NO HTML/RTF in e-mail  | 201 East 9th Avenue Ste.310
 X  - NO Word docs in e-mail | Anchorage, AK 99501
/ \  - Please visit Alaska Paradise - http://akparadise.byethost33.com
---------------------------------------------------------------------------------------











-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20051208/c857b9a7/attachment.bin


More information about the freebsd-questions mailing list