Re: Log retention query
Peter J. Holzer <hjp-pgsql@hjp.at>
From: "Peter J. Holzer" <hjp-pgsql@hjp.at>
To: pgsql-general@lists.postgresql.org
Date: 2025-02-02T08:26:18Z
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@hjp.at | -- Charles Stross, "Creative writing
__/ | http://www.hjp.at/ | challenge!"