Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1teVKC-00DySu-UO for pgsql-general@arkaria.postgresql.org; Sun, 02 Feb 2025 08:27:29 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1teVJB-006gXb-Gz for pgsql-general@arkaria.postgresql.org; Sun, 02 Feb 2025 08:26:25 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1teVJB-006gXT-6M for pgsql-general@lists.postgresql.org; Sun, 02 Feb 2025 08:26:25 +0000 Received: from mail.hjp.at ([212.17.106.138] helo=rorschach.hjp.at) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1teVJ7-002koN-2c for pgsql-general@lists.postgresql.org; Sun, 02 Feb 2025 08:26:24 +0000 Received: by rorschach.hjp.at (Postfix, from userid 1000) id 470EE8379D; Sun, 2 Feb 2025 09:26:18 +0100 (CET) Date: Sun, 2 Feb 2025 09:26:18 +0100 From: "Peter J. Holzer" To: pgsql-general@lists.postgresql.org Subject: Re: Log retention query Message-ID: <20250202082618.trv7vpxw3stkqqw4@hjp.at> Mail-Followup-To: pgsql-general@lists.postgresql.org References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="5tvavq7ahed5tkeu" Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --5tvavq7ahed5tkeu Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2025-01-28 13:40:42 +0000, Paul Brindusa wrote: > @Junwang apologies, I should have mentioned that=A0 we've tried setting u= p 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 --=20 _ | Peter J. Holzer | Story must make more sense than reality. |_|_) | | | | | hjp@hjp.at | -- Charles Stross, "Creative writing __/ | http://www.hjp.at/ | challenge!" --5tvavq7ahed5tkeu Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEETtJbRjyPwVTYGJ5k8g5IURL+KF0FAmefLCMACgkQ8g5IURL+ KF3b6w/+Igx5OnMLz784fFuCyiUi9mvw90ra4JZOwA9K2sVFwJCASRSg9R7FFKjb i6nrurmbptPB3N2REjT6VAj8r6wZ0jROlSWqO+nQ+yabOi1cB2473XDGl8PCg6kd jPstTv+qpahVGZMXxSDMagbaDtOuYXsqo37dzhfPteKToDV1llXus2ofi3MjEQfg yA8HYP5c6dyAR321hame2xXjOyHnEwz5O3Dx4EHA01jxkMsG80nPpXm0AeGJQinG iNWadqlREkQ8+p/TJJMMqB7W/P7BdJrw9TR7CDoPK5NdhWbFYZ4q3c/Z7T5pR08y YG8ejzxjP88yA8X9F9MxPWhozWF8bD0irWW31ABouPSO351ZatbjDOCjW8ucKVqi ni7rmzefnyBuC7be+/JlsEosrgwInm6Vc2MgRMxyoCH3zcA0LR2h/jEkH1r2wTv2 jnp9WALwfucgJR1m8eq6+1hIjPJ/g1j3KerFh5Lv3cx4x9h23NPbLXnZ2z/X3+bH A6SbqDpodkxt8LyM2M39sAw+ifTCeCupOSFufNUsfaeDxLjLNVJge9g4gZdQuDf9 wpPAT80QS7BkD1MTgCqUXOVlWMlN5otMd7DfvJg2+HXC5JmI9EUNbsMFoxXkU99L aXYTy13foccpZsvytNL+pHIV0SdLUdZfjEGrGYIn3QJV869BPM0= =WW8Q -----END PGP SIGNATURE----- --5tvavq7ahed5tkeu--