🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.privacy.anon-server
Article #297454

Mix error.log deletion

#297454
From: Red John
Date: Thu, 25 Jan 2018 18:36
11 lines
982 bytes
I currently have 45 errors in my mix error.log file and want to
setup a cron job to delete this file every 48 hours. If I delete
the file will mix recreate the file on its own when a new error is
created. The current size of the file is 2647 bytes, so it's not
taking up a lot of space. However, the file has data in it back to
Oct. 2017 and I don't need to see this stale data on a daily basis.


Is this the cron command to use?

0 0 0 1/2 * ? * rm -rf ~/Mix/error.log >/dev/null 2>&1
Technical Details
Message-ID: <20180125183642.94B01120083@fleegle.mixmin.net>
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

Show Full Headers
Complete Article Headers
Message-ID: <20180125183642.94B01120083@fleegle.mixmin.net>
Subject: Mix error.log deletion
Date: Thu, 25 Jan 2018 18:36:42 +0000
From: Red John <redjohn@nym.mixmin.net>
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
Newsgroups: alt.privacy.anon-server
X-Received-Body-Crc: 1621972394
X-Received-Bytes: 1040