I recommend writing a faceless background application that checks the system date then sends an apple event to the finder to reboot.
There are plenty of code samples for FBAs around and MPW is free.
There are plenty of code samples for FBAs around and MPW is free.