[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Inquiry:How to set the Debian server to be automatically rebooted at pre-specified times ?



On Sat, Nov 14, 2009 at 05:32:42AM +0000, hadi motamedi wrote:
> Thank you very much for your reply . Can you please do me favor and let me
> know what is the equivalent of Linux "/etc/rc.local" bootup script in Debian
> ? In Linux , I put the "crontab crontab.txt" in /etc/rc.local bootup script
> but where I am expected to put it under my Debian server ?
> Thank you in advance

That's a bad solution for a simple problem. Why not put the entry you
need in a file under /etc/crontab.d/ ?

BTW: why would you want a daily reboot?

-- 
Tzafrir Cohen         | tzafrir@jabber.org | VIM is
http://tzafrir.org.il |                    | a Mutt's
tzafrir@cohens.org.il |                    |  best
ICQ# 16849754         |                    | friend


Reply to: