Disable warning: "There is a user sharing this computer."
You could use launchd to execute /sbin/shutdown -r now as root at the time you want to restart.

I'm not able to expand this into step-by-step directions right now, but this might be helpful and if you don't get a more thorough answer first, I can come back and expand this hint in a fuller set of directions later this week.