distribution: missing agelog

Date: Mon, 31 Mar 1997 13:26:36 -0400
From: Gerard MacNeil <aa001@wwhcn.cnet.windsor.ns.ca>
To: CSuite Technical Reports <csuite-tech@chebucto.ns.ca>
Precedence: bulk

next message in archive
no next message in thread
previous message in archive
Index of Subjects


  This message is in MIME format.  The first part should be readable text,
  while the remaining parts are likely unreadable without MIME-aware tools.
  Send mail to mime@docserver.cac.washington.edu for more info.

---1764945369-1888587807-859829196=:260
Content-Type: TEXT/PLAIN; charset=US-ASCII

The CSuite program "CS_ROOT/cronbin/rotate-logs' calls 'agelog'.

'agelog' itself rotates mail log files, and other things to keep the 
keep down the amount of disk consumption they occupy.

I have attached a version of the program, with csuite @@@CS_VARIABLES@@@ 
that could be installed in CS_ROOT/lib.


Note that I have made some modifications to this file from teh copy I 
picked off of Chebucto, mostly to be selective about the files that are 
rotated.  'agelog' also called 'messages-report', which did not exist on 
Chebucto, but I found a copy (along with 'weed-messages') on cs.dal.ca.  
'messages-report' is very host specific, so I commented out the call in 
'agelog'.


- gerard


---1764945369-1888587807-859829196=:260
Content-Type: TEXT/PLAIN; charset=US-ASCII; name=agelog-csuite
Content-Transfer-Encoding: BASE64
Content-ID: <Pine.LNX.3.91.970331132636.260Y@wwhcn.cnet.windsor.ns.ca>
Content-Description: agelog adapted from Chebucto

IyEgL2Jpbi9zaA0KIzogYWdlbG9nIC0tIGFnZSBsb2cgZmlsZXMsIGJ5IERh
dmUgTGVubmVydCBhcyB0b2xkIHRvIEJvYiBEZXNpbmdlcg0KIw0KIyBVc2Fn
ZTogICQwIGxvZ0ZpbGUgaG93TWFueSBbc3Rhc2hEaXJdDQojIFRoZSBtb3N0
IHJlY2VudCA8aG93TWFueT4gbG9ncyBhcmUga2VwdCBhcm91bmQgYnkgcmVu
YW1pbmcgbG9nRmlsZSB0bw0KIyBsb2dGaWxlLjAsIGFmdGVyIHNpbWlsYXJs
eSByb2xsaW5nIGxvZ0ZpbGUuMCA9PiBsb2dGaWxlLjEgPT4gbG9nR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KCWlm
IFsgLWYgJGFyY2guJG9sZC5neiBdDQoJdGhlbg0KCQltdiAkYXJjaC4kb2xk
Lmd6ICRhcmNoLiRvbGRlci5neg0KCWZpDQoJb2xkZXI9JG9sZA0KZG9uZQ0K
DQoNCiMgT2xkIGxvZ2ZpbGVzIGFyZSBhbGwgcm9sbGVkIG92ZXI7IG5vdyBt
b3ZlIHRoZSBjdXJyZW50IGxvZyB0byBsb2cuMA0KDQojIFVzZSBjcCBpbnN0
ZWFkIG9mIG12IHRvIHJldGFpbiBvd25lciAmIHBlcm1pc3Npb25zIGZvciB0
aGUgb3JpZ2luYWwgZmlsZSwNCiMgYW5kIHRvIGF2b2lkIHByZW1hdHVyZWx5
IGFnaW5nIGFueSBpbmZvIGdvaW5nIGludG8gdGhlIGZpbGUgcmlnaHQgbm93
Lg0KaWYgWyAtZiAkbG9nIF0NCnRoZW4NCgkjIGRvbid0IGNyZWF0ZSBhbiBv
bGQgbG9nIGlmICQyIHdhcyAwDQoJdGVzdCAkbWF4IC1ndCAwICYmIGNwICRs
b2cgJGFyY2guMA0KCWNwIC9kZXYvbnVsbCAkbG9nCSMgY2xlYXIgb3V0IGxv
Zw0KCWlmIFsgMCAtZ2UgJHphcmcgXQ0KCXRoZW4NCgkJZ3ppcCAtZiAkYXJj
aC4kb2xkZXINCglmaQ0KZmkNCg0KZXhpdCAwDQo=
---1764945369-1888587807-859829196=:260--


next message in archive
no next message in thread
previous message in archive
Index of Subjects