Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: robinson@dsto.defence.gov.au (Greg Robinson)
Subject: syslogd and syslog.dated
Date: 1995/08/25	[thread overview]
Message-ID: <41jd2g$79o@fang.dsto.defence.gov.au> (raw)

Hi,

I'm trying to write a program which removes the huge news.log file from
our syslog.dated dirs in /var/adm 2 days ago from the current date.

What I want to know is how does syslogd create these dirs with the time
stamp on them.  I already have a small C program to calculate 2 days ago
from the current date.  I would like to run it from cron.

Something like:

/bin/rm -f /var/adm/syslog.dated/`/usr/local/etc/time`/news.log

Thankx for any help,

Greg.

--
Work: robinson@dsto.defence.gov.au
Home: greg@arrakis.apana.org.au



             reply	other threads:[~1995-08-25  4:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1995-08-25  4:00 Greg Robinson [this message]
1995-08-29  4:00 ` syslogd and syslog.dated Bassirou Bah
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox