public inbox for [email protected]  
help / color / mirror / Atom feed
From: Adrian Klaver <[email protected]>
To: Paul Brindusa <[email protected]>
To: [email protected]
Subject: Re: Log retention query
Date: Sun, 2 Feb 2025 13:33:51 -0800
Message-ID: <[email protected]> (raw)
In-Reply-To: <[email protected]>
References: <CAFeSbqjnRXNZ72NdD+G6ScKKBTQXAxpMk=XyH1sPGs+L2atF_A@mail.gmail.com>
	<[email protected]>
	<CAFeSbqjqi1DZjQDatiZehk3GpkX_dFv=qgfsgWxKbsACSWJv_g@mail.gmail.com>
	<[email protected]>
	<[email protected]>
	<[email protected]>
	<[email protected]>

On 2/2/25 12:04, Paul Brindusa wrote:
> I am defo sure that my syntax was fine.
> 
> I have tried the same syntax to remove the logs manually from the 
> folderĀ  and it worked perfectly.
> 
> The cronjob was set from root, so I am assuming it has the right 
> privileges over the folder in cause.
> 

Did you use the correct directory in the cron command?

> 
> @ Adrian the cluster runs on Rocky9

What repo are you using to install Postgres from?

> 
> There is no error from cron that is the weird bit as well.
> 
> I do not have MAILTO set up on cron.

I would do that, then you should get the errors.

You could also look in the system log at the time the cron job was 
executed to see if it recorded the error.

> 
> Regards,
> 
> Paul
> 


-- 
Adrian Klaver
[email protected]







view thread (13+ messages)  latest in thread

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected], [email protected]
  Subject: Re: Log retention query
  In-Reply-To: <[email protected]>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox