On Thu, 24 Feb 2005 16:36:52 +0000
Gareth Eason <bigbro at skynet.ie> wrote:
> Niall O Broin wrote:
> [munch...]
> >
> > A monthly crontab entry to reboot ?
> >
>> Aaaaaand this month's Sledge-hammer-to-crack-a-nut award goes
> to.... ;-)
Obviously you need to run the crontab daily to check to see if it is the start
of the month and then reboot. Probably a lot more efficient if you ran it
every 5 minutes though - so you wouldn't miss the start of the month by
too much.
Although come to think of it - that's not the most efficient way possible,
you really should write your own little daemon to sit in the background
and schedule the reload. You should make sure that you have two of them
to ensure that if one crashes that you don't miss the update.
I remember being told once that "the unix machines need to be
rebooted about once a month in order to clean out the memory, and
that it was a lot more efficient that way".
Also - as it's Niall, I think he was taking the mickey suggesting a cron'd reboot.
>> Regards,
> -->Gar
>> --
> Irish Linux Users' Group
>http://www.linux.ie/mailman/listinfo/ilug/>
--
Chris Higgins
Darach Technology Ltd tel: +353-1-6204370
email: chris.higgins at darach.ie fax: +353-1-6204371
http://www.darach.ie
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!