[Bucardo-general] turn off bucardo non-emergency email notifications?
Jonathan Brinkman
JB at BlackSkyTech.com
Wed Mar 7 01:04:45 UTC 2012
Crontab -l returns "no crontab for postgres" (postgres user) and "no crontab
for bucardo" (bucardo user)
I use nano
When I go sudo nano /etc/crontab I don't see any references to bucardo
The emails come from
Sender: "Cron Daemon",
subject line: Cron <root at client-orca-cloud-db-1> psql -X -q -d
bucardo -U bucardo -c "SELECT bucardo_purge_q_table('5 minutes'::interval);"
Message body:
NOTICE: Rows left in q table: 27
bucardo_purge_q_table
-----------------------
156
(1 row)
Where do I edit to stop this message?
-----Original Message-----
From: Adam Wendt [mailto:thelsdj at gmail.com]
Sent: Tuesday, March 06, 2012 2:12 PM
To: JB at BlackSkyTech.com
Cc: bucardo-general at bucardo.org
Subject: Re: [Bucardo-general] turn off bucardo non-emergency email
notifications?
Try crontab -l and if it shows up there use crontab -e to edit it.
(Pro-tip, if you have a preferred editor use 'EDITOR=vim crontab -e' to
edit in your preferred editor. Or better yet put EDITOR=whatever in your
shell startup script)
On 03/06/2012 08:52 AM, Jonathan Brinkman wrote:
> Thanks but where is that psql call coming from? My /etc/crontab has no
such
> line in it.
>
> -----Original Message-----
> From: Greg Sabino Mullane [mailto:greg at endpoint.com]
> Sent: Tuesday, March 06, 2012 9:13 AM
> To: Jonathan Brinkman
> Cc: bucardo-general at bucardo.org
> Subject: Re: [Bucardo-general] turn off bucardo non-emergency email
> notifications?
>
> On Tue, Mar 06, 2012 at 08:20:29AM -0500, Jonathan Brinkman wrote:
>> Hi there
>> I just installed an outgoing mail server (exim) on my bucardo server.
>> Now I'm getting countless bucardo messages emailed to me.
>> How do I turn off email notifications - or at least the non-emergency
> ones?
>> Example message:
>> Cron<root at client-cloud-db-1> psql -X -q -d client_db -U bucardo -c
> "SELECT
>> bucardo_purge_delta('10 minutes'::interval);"
> For the cron stuff, just redirect to devnull:
>
> psql -X -q -c "SELECT ..."> /dev/null
>
>
More information about the Bucardo-general
mailing list