LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (http://www.linuxquestions.org/questions/linux-server-73/)
-   -   Set a cronjob to reboot a server every 3 days, to fix any problems (http://www.linuxquestions.org/questions/linux-server-73/set-a-cronjob-to-reboot-a-server-every-3-days-to-fix-any-problems-811463/)

abefroman 06-01-2010 08:36 AM

Set a cronjob to reboot a server every 3 days, to fix any problems
 
Is this a good idea?

If I make a cronjob to reboot a server every 3 days at like 2am?

This way it will free up ram, etc and cause less problems right?

I know a guy that is doing this, and I'm trying to convince him otherwise.

druuna 06-01-2010 08:40 AM

Hi,

An automated reboot when you have problems is a work-around at best.

Fixing the problems seems the way to go.

Just my 2c.

Anyway, hope this helps.

acid_kewpie 06-01-2010 08:40 AM

It's an attrocious idea! Never reboot unless you have to. Never ever reboot on a schedule. whatever the issues you have there IS a better way.

abefroman 06-01-2010 12:04 PM

Quote:

Originally Posted by acid_kewpie (Post 3988576)
It's an attrocious idea! Never reboot unless you have to. Never ever reboot on a schedule. whatever the issues you have there IS a better way.

Thanks! That's what I was thinking too.

acid_kewpie 06-01-2010 02:18 PM

I will restart some services on cron when there is no alternative and the software in question can't / won't be upgraded or fixed for various reasons. But if you are a Linux admin, then keeping that box itself up is absolutely your responsibility. It's crude, but a worthwhile metric in some ways to guage your skills.

abefroman 06-01-2010 02:39 PM

Quote:

Originally Posted by acid_kewpie (Post 3989003)
I will restart some services on cron when there is no alternative and the software in question can't / won't be upgraded or fixed for various reasons. But if you are a Linux admin, then keeping that box itself up is absolutely your responsibility. It's crude, but a worthwhile metric in some ways to guage your skills.

I totally agree.


All times are GMT -5. The time now is 11:02 AM.