Battery pull

Is there an app that simulates a battery pull? I use to have one on my old Blackberry and it was great because it would simulate a battery pull every night at 3am, this allowed my phone to continue to work great.

My droid freezes up from time to time, and get cleared by pulling the battery. It would be nice to simulate the battery pull in the middle of the night