I'm new in Linux and I want to schedule a reboot at midnight. How should I do it?
Edits:
I'm sorry I didn't put the complete details. I want a reboot every 3rd Saturday of the month at 23:30.
I don't know what's wrong but I cannot find crontab. What I have is
cron.d;cron.daily;cron.weekly;cron.monthly;
I'm sorry for the noob question. Pls help me. Thanks.
/etc/crontabentry like30 23 15-21 * 6 /sbin/shutdown -r nowwill reboot at 23:30 on the 3rd Saturday of every month. – Chris S Jun 28 '10 at 17:53datecommand. Is its clock in sync with your local time? If not, you may want to take that into consideration. – LonnieBest Sep 28 '21 at 09:42