Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!wuarchive!cs.utexas.edu!helios!eemips.tamu.edu From: greg@eemips.tamu.edu (Greg Economides) Newsgroups: comp.unix.questions Subject: automatic dating of /var/adm/messages in SunOS Message-ID: <4915@helios.TAMU.EDU> Date: 10 Apr 90 15:44:47 GMT Sender: usenet@helios.TAMU.EDU Distribution: usa Organization: Texas A&M University, College Station Lines: 21 In the SunOS manual, there is a reference made to making an entry in a crontab for updating /var/adm/messages each week. In other words: messages.3 --> messages.4 messages.2 --> messages.3 messages.1 --> messages.2 messages --> messages.1 a new messages file is created. I wrote a script which does this and put an entry in the appropriate crontab so that the script is executed each week. I have a feeling that this is not what the reference in the manual was talking about. It seemed to suggest that there exists a program to do this which should be executed via crontab. I am running SunOS 4.0.2 on a 386i. It seems that on Sun 3's and 4's this updating is done by default, but not so with this set-up. Is my script unnecessary? greg economides System Administrator: zadok.tamu.edu