Im too noob to know how use crontab

hi, im very newbie, im want to make a crontab command that restart my server every day at the same hour, but idk how.
is this command valid? “0 22 * * * /restart >/dev/null 2>&1”

https://crontab.guru/

you can check here

1 Like