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/crontab
entry like30 23 15-21 * 6 /sbin/shutdown -r now
will reboot at 23:30 on the 3rd Saturday of every month.