Re: Inquiry:How to set the Debian server to be automatically rebooted at pre-specified times ?
On Thu, Nov 12, 2009 at 9:00 AM, hadi motamedi <firstname.lastname@example.org> wrote:
> Sorry . I do not send any message to you Gentlemen before searching in
> Google . But my specific question is why my crontab settings vanish when my
> Debian server gets rebooted ? I want to set it to be automaticallt rebooted
> at 2:00 A.M. each day . But after the first reboot my crontab job will
> disappear . I asked you to see if you can help me in this regard .
> Sorry bothering you and thank you in advance
Then you should explain better your problem, your solution in August
(that which put crontab in local.rc) was not fine.
Use /etc/cron.d/ directory to schedule this task.