powershell script.  schedules a restart on local computer for 12AM on the next date.  i use this to restart servers without having to log in at night.