Subject: Re: time of shutdown / power-loss
To: Petar Bogdanovic <p+netbsd@2005.smokva.net>
From: Adrian Portelli <adrianp@stindustries.net>
List: netbsd-users
Date: 11/30/2005 13:09:14
Petar Bogdanovic wrote:
> Stefan 'Kaishakunin' Schumacher wrote:
>> You can use logger(1) to writes sth. to syslog. I have a simple
>> heartbeat shellskript on my servers that is started from /etc/rc.local:
>>
>> while true do
>> logger "uptime:  `uptime`"
>> sleep 600
>> done
> 
> That's an interesting approach! But why don't you use cron(8)?
> 
> 
> Kind regards,
> 
> Petar
> 

Hi,

Why don't you use syslogd -m <mark_interval> :)

You can use mark.info in your syslogd.conf to send the mark messages to
their own file if you want to.

adrian.