A one-time only restart can be done with the shutdown command. Example:
shutdown -r 06:00
For periodic restart, you can schedule it with cron jobs or from the UI using @stephdl’s crontab manager module.