How to cron a shutdown -rF now
I have a server that I'm hoping to replace soon, but for now i have to reboot and e2fsck it every couple days to avoid general weirdness. Instead of doing it remotely in the early hours of the morning, is there a way to cron a "shutdown -rF now" to run a few times a week at a time of my choosing?
i dont know if its a simple as doing
00 12 * * 1,3,5 shutdown -rF now
or there's more to it or a better way.