Hello,
you can add cron task directly in your Cpanel, with the command reboot
1. Go to Server >> Scheduled Tasks
2. Select the root user
3. Click "Add New Task"
4. Configure the Task with :
Switched on : checked
Minute : 0
Hour : 0
Day of the Month : */2
Month : *
Day Of Week : *
Commande : reboot
This task will reboot your server every 2 days at 00:00