[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [cobalt-users] Cron notice



You are getting email because the script is generating some output on
either stdout or stderr..  Redirect the out of both to a file or
/dev/null depending on your preference.

0 4 * * * command > /dev/null 2>&1

Be sure there is no output from the command you need such as error
messages or things like that..  On this vein, you might want to append
to a logfile for the command..

-ed-

> -----Original Message-----
> From: cobalt-users-admin@xxxxxxxxxxxxxxx [mailto:cobalt-users-
> admin@xxxxxxxxxxxxxxx] On Behalf Of H2M Lists
> Sent: Thursday, July 18, 2002 9:18 AM
> To: cobalt-users@xxxxxxxxxxxxxxx
> Subject: [cobalt-users] Cron notice
> 
> How do I tell a cron job not to email me every time the script is ran?
I
> have a script for some stats for a baseball team that I am getting the
> results of every time the script is ran.  What can I do to not have
the
> results email to me?
> 
> Kody
> 
> _______________________________________________
> cobalt-users mailing list
> cobalt-users@xxxxxxxxxxxxxxx
> To Subscribe or Unsubscribe, please go to:
> http://list.cobalt.com/mailman/listinfo/cobalt-users