Thread View: alt.privacy.anon-server
3 messages
3 total messages
Started by Anonymous
Wed, 30 Jan 2019 03:28
Attn: INWTX, APAS Monitor Script Cleanup
Author: Anonymous
Date: Wed, 30 Jan 2019 03:28
Date: Wed, 30 Jan 2019 03:28
4 lines
977 bytes
977 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.
Re: Attn: INWTX, APAS Monitor Script Cleanup
Author: anon
Date: Wed, 30 Jan 2019 15:57
Date: Wed, 30 Jan 2019 15:57
22 lines
2182 bytes
2182 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. -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 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 SIGNATURE----- iF4EAREIAAYFAlxRyUYACgkQhU7fz9hYXBN28QD/Ven73qS8L3bk5TndkUQmH2bB WUy+NQ343JOsOPEF3JYA/3wlVCHP0w7xYciTojnXP6AEOfhdZvpuqNPHKFwr9Zfg =suuI -----END PGP SIGNATURE-----
Re: Attn: INWTX, APAS Monitor Script Cleanup
Author: 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-----
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads