Article View: alt.privacy.anon-server
Article #302203Re: Attn: INWTX, APAS Monitor Script Cleanup
From: noreply
Date: Wed, 30 Jan 2019 16:56
Date: Wed, 30 Jan 2019 16:56
28 lines
1592 bytes
1592 bytes
> >> >> I noticed that the sent file continues to grow. Is there some >> mechanism that can be added to the script or via a Cronjob to >> remove this file after it reaches a certain file length or a number >> of days old. > > The sent file has nothing to do with CheckApasMsgs.sh. That is your > regula mail file. You will have to empty it manually. You can setup a > cronjob to automatically empty it every 10 minutes like this: > > */10 * * * * cat /dev/null > sent &> /dev/null > -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Actually, CheckApasMsgs.sh is causing that to happen because it is sending mail. Thus, sent mail is retaining every mail it sends. Use the cronjob to keep it deleted. -----BEGIN PGP SIGNATURE----- iF4EAREIAAYFAlxR1cMACgkQhU7fz9hYXBNFHwD+JnUVGr/EpOvQDMC3OEDo3kI0 8N2SWUKo58sYIZphIbsA/iyvtsXhbE1FPZFG5lMT07JipRwjI7JWbqd3CrcNHkXL =o5Ma -----END PGP SIGNATURE-----
Technical Details
Message-ID:
<q2skv3$1gt$1@news.neodome.i2p>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mailReferences:
<q2shfo$ska$1@news.neodome.i2p>Show Full Headers
Complete Article Headers
Message-ID: <q2skv3$1gt$1@news.neodome.i2p> Subject: Re: Attn: INWTX, APAS Monitor Script Cleanup Date: Wed, 30 Jan 2019 10:56:36 -0600 From: "noreply@inwtx.net" <noreply@inwtx.net> References: <q2shfo$ska$1@news.neodome.i2p> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail Injection-Date: Wed, 30 Jan 2019 16:56:04 +0000 (UTC) X-Received-Bytes: 2382 X-Received-Body-Crc: 1020201746 Newsgroups: alt.privacy.anon-server Organization: Neodome User-Agent: slrn/pre1.0.3-6 (Linux)