Whether it's recovering from an unexpected crash, or doing a quick reboot to update the server code, this four-line batch file is what you're looking for.
echo %date% %time% >> rebootlog.txt
The third line is important here. Don't neglect proper logging or you might not realize there was any crash at all. After all, the point of this is to reduce downtime, not lazy error handling.