Noob with crontab

So I want my server to restart at 2 am and 2 pm I wanna know if I’m doing this right
I did crontab -e

I added
* * 2 * * shutdown -r
* * 14 * * shutdown -r

Does this look correct?

I saw this link in another thread and thought this may help: https://discourse.codeemo.com/t/im-too-noob-to-know-how-use-crontab/3895

Also, the command is missing an argument

You can use shutdown -r now or there is another script that does the same: reboot.

I keep getting email

/bin/sh: 1: reboot: not found

So I guess I should do

0 2 * * * /reboot >/dev/null 2>&1
0 14 * * * /reboot >/dev/null 2>&1

And this would reboot he server ar 2 am and 14 correct?

Double check your work in the terminal before you wait for crons to trigger.

It could be located at /sbin/reboot. Check with which reboot