From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,9deb23ab73c3da3d,start X-Google-Attributes: gidfee84,public From: robinson@dsto.defence.gov.au (Greg Robinson) Subject: syslogd and syslog.dated Date: 1995/08/25 Message-ID: <41jd2g$79o@fang.dsto.defence.gov.au>#1/1 X-Deja-AN: 109083543 organization: Defence Science & Technology Organisation newsgroups: comp.unix.osf.osf1 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