PDA

View Full Version : Auto reset every 30 minutes


davidbessler
21-02-2008, 11:57 PM
I'm looking for software that will automatically reset my device every 30 minutes. It should postpone resets if device is active (screen on).

The software I've seen so far only schedules once daily. Pretty dumb. I tried ShutXP, but I can't figure out how to make that automatically reschedule the next reset ... anyone?

xd1936
22-02-2008, 01:10 AM
I can write up a script for ya... install mortscript while you wait, if you haven't already...

davidbessler
22-02-2008, 03:38 AM
Love you! Awesome! I have Mortscript installed already.

xd1936
22-02-2008, 05:33 AM
Here we are...

xd1936's ResetTimer v0.1b
-scroll down below and try v0.2 please :)-
Features:
-Soft resets the device at any given interval
-Time may be adjusted in the registry...
Go to \\HKCU\Software\xd1936 and change the value, in seconds. The default is 1800 seconds, or 30 min
-Please soft-reset after installation

Just let me know if this proof-of-concept works... the whole screen-off thing hasn't been implemented

Let me know if anything is wrong with the software, or my math :)
It is beta software...
Enjoy!

met3ora
22-02-2008, 06:15 AM
So, I guess it's worth asking, but why do you need your device reset'ed so often? That's gonna do terrible things to battery life.

davidbessler
22-02-2008, 06:23 AM
Error: Unknown funtion regreaddword

Line:
y=RegReadDWord("HKCU","Software/xd1936","waittime")


Seems Mort has permanently gotten rid of RegReadDWord in 4.1. I replaced with RegRead and it worked.

As for your question, no matter how I configure my device, I always end up with memory leaks and need to reset my device fairly regularly ... if not every 30 minutes, then every hour or two.

xd1936
22-02-2008, 06:32 AM
Cool, I think this'll work better... I can't test them currently, so bear with me

xd1936 ResetTimer v0.2b

bigruss
22-02-2008, 07:22 AM
you could try the freeware Oxios closeapps and Oxios hibernate to reclaim your memory instead of the soft reset, works pretty well for me. It's an executable not a schedule thing but should be easy enough to script something in mortscript or skschema. I just run it manually every so often.

xd1936
22-02-2008, 06:49 PM
So is it working? What's the story?