View Full Version : Schedule a dayly script execution and soft reset
oruam57
07-08-2006, 03:50 PM
Schedule Reset is a small utility that offers these capabilities.
- Soft reset of your device every day at a specified time.
- Optional warning sound and countdown before actual reset (just in case you are using the device).
- Optional execution of a script before the reset to delete garbage files, backup, etc.
- Automatical aborting of the script if its execution time exceeds a specified timeout.
- Default script engine is nScript (freely available at http://www.s-k-tools.com/util.html).
- Other script engine can be used by changing some registry keys.
oruam57
07-08-2006, 11:24 PM
Screen captures
malatesta
09-08-2006, 05:53 PM
been using it for the last 2 days...
not much to say about it except that it works and works well...
haven't tried the scripts thing 'cause I can't program, but nice option!
matheprat
09-08-2006, 06:14 PM
Has anyone else been using this on a Wizard? Any bugs?
Azriaphale
10-08-2006, 11:05 AM
Works great on the Universal
_onoff
10-08-2006, 07:19 PM
does anyone know how to automatic enter the pin of the phone after the softreset?
_onoff
10-08-2006, 07:20 PM
does anyone know how to automatic enter the pin of the phone after the softreset?
oldsap
11-08-2006, 08:38 AM
@oruam57: thanks for the ns info. May i know how you were able to create the exe files?
jeasbe
11-08-2006, 09:11 AM
does anyone know how to automatic enter the pin of the phone after the softreset?
Why need a Pin in the First place?
Normally we require a PIN for security; If the software is bypassing that , why not DISABLE PIN REQUEST alltogether?
Prompt me if I am wrong pls..
We are all learning :idea:
oruam57
11-08-2006, 10:39 AM
@oruam57: thanks for the ns info. May i know how you were able to create the exe files?
You mean what development environment I used to develop ScheduleReset.exe? I used Borlard Delphi 2006.
oldsap
11-08-2006, 10:46 AM
thanks. is there an easier way to make an exe file? :)
_onoff
12-08-2006, 05:17 PM
does anyone know how to automatic enter the pin of the phone after the softreset?
Why need a Pin in the First place?
Normally we require a PIN for security; If the software is bypassing that , why not DISABLE PIN REQUEST alltogether?
Prompt me if I am wrong pls..
We are all learning :idea:
when you have 2 or more numbers on the same card, and their only activated by the PIN you enter... like... CARD 1 - PIN 0001 CARD2 - PIN 0002 ... google for sim emu :D
meschle
14-08-2006, 02:33 PM
Nice app thanks - set mine to reset at 0400 every day.
Give me a chance to learn script writing
Anyone have some ready made scripts to try?
Would like a script to clear certain directories - temp/volatile etc...
oruam57
14-08-2006, 03:18 PM
Nice app thanks - set mine to reset at 0400 every day.
Give me a chance to learn script writing
Anyone have some ready made scripts to try?
Would like a script to clear certain directories - temp/volatile etc...
ScheduleReset.ns.sample1 is a ready made sample that deletes the contents of the \temp directory (including subdirectories). Just rename it to ScheduleReset.ns and copy under the directory where ScheduleReset.exe is.
To add more directories just add calls to ClearDirectory with the full path, that is
function main()
{
ClearDirectory("\\temp",0);
ClearDirectory("<your directory here>",0);
}
Notice that you should use a double slash ("\\"), its a quirk of the ns string syntax.
WARNING: be very careful with ClearDirectory as it can delete very much in very short time. A full backup before starting is highly advisable.
meschle
14-08-2006, 03:25 PM
Nice app thanks - set mine to reset at 0400 every day.
Give me a chance to learn script writing
Anyone have some ready made scripts to try?
Would like a script to clear certain directories - temp/volatile etc...
ScheduleReset.ns.sample1 is a ready made sample that deletes the contents of the \temp directory (including subdirectories). Just rename it to ScheduleReset.ns and copy under the directory where ScheduleReset.exe is.
To add more directories just add calls to ClearDirectory with the full path, that is
function main()
{
ClearDirectory("\\temp",0);
ClearDirectory("<your directory here>",0);
}
Notice that you should use a double slash ("\\"), its a quirk of the ns string syntax.
WARNING: be very careful with ClearDirectory as it can delete very much in very short time. A full backup before starting is highly advisable.
Many thanks for that - yes i use spb backup and will set too editing your script - ta
matheprat
15-08-2006, 11:07 PM
Has anyone been using this on a Wizard? Any bugs?
meschle
15-08-2006, 11:33 PM
Has anyone been using this on a Wizard? Any bugs?
Works good on my wizard no bugs so far :wink:
Azriaphale
17-08-2006, 09:45 PM
Think the warning sound should sound for the full 20 secs countdown. As it is you get 1 beep and thats it. Maybe a selectable countdown sound.
oruam57
17-08-2006, 10:28 PM
Think the warning sound should sound for the full 20 secs countdown. As it is you get 1 beep and thats it. Maybe a selectable countdown sound.
Well, the idea is to have the reset time set deep in the night. Therefore, too much noise would be annoying. The sound and the countdown are there only in the unlikely case the phone is in use, so you can stop the reset sequence.
Anyway the registry entry
HKEY_CURRENT_USER\Software\ScheduleReset\SoundFile Path
contains the path of the sound file. Replacing it with someting more noisy and longer (for example \Windows\Jig.wma) should suit you.
Azriaphale
18-08-2006, 11:01 AM
Cheers for the info.
judogti
16-07-2008, 07:37 PM
Just installed this and love it! No needing to do this myself every few days now! Thx!
popy5
20-12-2008, 12:04 AM
I have programmed the softreset to 04:00. Then I've changed the system date a year ahead of the current date, and returned again to the correct date.
Now every time that I start Reset Schedule, there are activated a countdown of 20 seconds, and I suspect that I have over 300 softresets pending in the queue!
vBulletin® v3.7.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.