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

Re: how to stop cron.hourly mailings



you can add a mailto aliase that goes to dev/null for this one cron job



On Feb 6, 2006, at 1:02 PM, Allen, Jack wrote:

	I assume you are saying to comment out the command. Yes that will
stop the emails also, but I think they want the command to run. They just do
not want to get an email each time it does.

Jack Allen


-----Original Message-----
From: redhat-list-bounces redhat com [mailto:redhat-list- bounces redhat com]
On Behalf Of ssevengor tai com tr
Sent: Monday, February 06, 2006 1:10 AM
To: General Red Hat Linux discussion list
Subject: RE: how to stop cron.hourly mailings


Why not check the corresponding line in the crontab file and # command it ??
or I misunderstand.

Serdar

-----Original Message-----
From: redhat-list-bounces redhat com [mailto:redhat-list- bounces redhat com]
On Behalf Of Allen, Jack
Sent: 04 ┼×ubat 2006 Cumartesi 04:35
To: 'me gavitron com'; 'General Red Hat Linux discussion list'
Subject: RE: how to stop cron.hourly mailings

	Yes that will keep cron from sending mail. But in general commands
run by cron should not produce any output to stdout or stderr unless there is a problem. So maybe the script needs to be changed so it does not produce any output unless there is an error. Then you will get mail and know you
need to check it.

Jack Allen

-----Original Message-----
From: redhat-list-bounces redhat com [mailto:redhat-list- bounces redhat com]
On Behalf Of Gavin McDonald
Sent: Friday, February 03, 2006 4:24 PM
To: 'General Red Hat Linux discussion list'
Subject: RE: how to stop cron.hourly mailings


add '1&2>/dev/null' to the end of the commandline of the cron job.

Regards,

Gavin McDonald
========================
EVI Logistic Enterprises
email: me gavitron com
phone: (604) 313-3845



-----Original Message-----
From: redhat-list-bounces redhat com [mailto:redhat-list-
bounces redhat com] On Behalf Of Romeo Theriault
Sent: Friday, February 03, 2006 1:19 PM
To: General Red Hat Linux discussion list
Subject: how to stop cron.hourly mailings

I have a script that runs hourly in my cron.hourly folder. I get a
message every hour showing it's output. How can I stop just this one
script from mailing me every hour? Is there a way I can just stop it
or could I also get it to just mail me once a day?

Thanks,
Romeo

--
redhat-list mailing list
unsubscribe mailto:redhat-list-request redhat com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

--
redhat-list mailing list
unsubscribe mailto:redhat-list-request redhat com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

--
redhat-list mailing list
unsubscribe mailto:redhat-list-request redhat com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

--
redhat-list mailing list
unsubscribe mailto:redhat-list-request redhat com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list


--
redhat-list mailing list
unsubscribe mailto:redhat-list-request redhat com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list



--
Steve Rieger
riegersteve gmail com
310-339-4355
yahoo  = riegersteve
icq        = 53956607
Ride Free, Ride On, Ride Safe


I had the blues because I had no shoes until upon the street, I met a man who had no feet.

Biker Blue





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