Mailinglist Archive: opensuse (3785 mails)

< Previous Next >
Re: [SLE] Favorite Cron Jobs
  • From: "Bob S." <usr@xxxxxxxxxxx>
  • Date: Fri, 3 Oct 2003 01:49:33 -0400
  • Message-id: <200310030149.33777.usr@xxxxxxxxxxx>
On Thursday 02 October 2003 00:39, Charles Philip Chan wrote:
> On Thu, 2 Oct 2003 00:28:48 -0400
>
> "Bob S." <usr@xxxxxxxxxxx> wrote:
> > Trying to figure out how to make it startup at boot time. Looked
> > through Yast but nothing was obvious to me.
>
> Use the run level editor in YaST.
>
> > While we are on the subject, does anyone have any favorite scripts,
> > suggestions, other than getting rid of all of the old (huge) log
> > files?(assuming I get it running of course :-)
>
> Huh, that is what logrotate is for. Please refer to its manpage for
> the syntax of the config files (/etc/logrotate.conf and
> /etc/logrotate.d/*).

OK, Thanks for replying. I have reviewed the man page and while
informative, is not very explicit. Evidently I should have made myself
a little clearer. Specifically, I have over 6 months of wtemp-(date)
in /var/log I would like to get rid of other than by going in and
doing it manually. I also have 3 sets of Xfree86 logs, and their
backups, .0.log, .1.log, and .99.0.log dating back to July. I was
asking how other list members handled this in a cron job.

Any help would certainly be appreciated.

Bob s.


< Previous Next >