Re: Log retention query

From: "Peter J(dot) Holzer" <hjp-pgsql(at)hjp(dot)at>
To: pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: Log retention query
Date: 2025-02-02 08:26:18
Message-ID: 20250202082618.trv7vpxw3stkqqw4@hjp.at
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 2025-01-28 13:40:42 +0000, Paul Brindusa wrote:
> @Junwang apologies, I should have mentioned that  we've tried setting up a
> crontab and it has not worked.

Then you have a cron problem and not a postgresql problem.

What that problem is is impossible to say with the information you have
given us. What was the exact crontab entry, and what did it do? (When
describing a problem, always use positives, not negatives. "it did not
work" is particularly useless, since there are a gazillion ways in which
something could not do what you expected.)

> Have you got something similar working?

Yes. Cleaning up stuff is probably one of the most frequent uses of
cron.

hp

--
_ | Peter J. Holzer | Story must make more sense than reality.
|_|_) | |
| | | hjp(at)hjp(dot)at | -- Charles Stross, "Creative writing
__/ | http://www.hjp.at/ | challenge!"

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Paul Brindusa 2025-02-02 12:12:07 Re: Log retention query
Previous Message Gabriele Tozzi 2025-02-01 02:29:49 Toughs for CREATE DATABASE performance improvement