I want to create a cron job which executes daiy at assigned time and it restart the ubuntu server.
I try to add reboot
only in cron, but it is not working, whereas it works when I try to execute it from CLI.
Please advise, what command should I add in cron, so that it reboot the server daily at specific time.