2018-Mar-10
The pmset utility can be used to schedule repeating reboots, replacing MTWRFSU 04:00:00 with your desired day(s) of the week and time of day:
pmset
MTWRFSU 04:00:00
pmset repeat restart MTWRFSU 04:00:00
Gist on GitHub