Re: Inactive shutdown service



"Maarten Wiltink" <maarten@xxxxxxxxxxxxxxxxxx> wrote in message
news:426babed$0$159$e4fe514c@xxxxxxxxxxxxxxxxx
> "Kezepema" <kezepema@xxxxxxxxx> wrote in message
> news:nuNae.19794$kd1.1366@xxxxxxxxxxxxxxx
>
> > I warned them so many times, but children in my class-group often forget
> > to shutdown their pc's.
> > To prevent high energy costs, I intend to write a service or program in
> > Delphi, that will account for inactivity.
>
> Are you the last to leave the classroom? Turn off the main switch when
> you go out.

I dare you to pull the plug out of your own pc !

Possible consequences:

Damaged harddisks: damaged sectors because of inproper head landing, data
corruption and data loss because of write buffer not written, etc.

Damaged circuitry: power surges.

>
> Have you considered the wear and tear on the computers from turning them
> on and off seventeen times a day?

You might have a valid point here.

I can imagine power button spring wear/tear from on/on/on ;)

Circuitry wear I dont really know about.

I have seen things die on power on/off/on/off.

So sudden power surges could indeed be bad for circuitry.

>
>
> > I think the best way to notice inactivity is to react on mouse actions
> > or keyboard input in cooperation with the Timer component.
>
> I think the best way to notice inactivity is to defer the noticing to
> Windows, which is equipped for it.
>
>
> > So I want to set the inactivity time to 15 minutes.
> > When the program receives no mouse or keyboard events in that time
> > range, the system should shutdown automatically.
>
> Start, Settings, Control Panel, Power Options, Power Schemes, System
> standby, "After 15 minutes". Is standby good enough for you? (If it's
> not, perhaps next time your institution buys PCs, it should make standby
> power usage a consideration.)

I find it an interesting problem.

I am kinda surprised that windows does have a stand by mode but not a
shutdown mode... ????!!!!

I tried this trick unfortunately the task schedular is not working for me
it's running but it doesnt work I posted this problem already at windows xp
general newsgroup.

The shutdown trick unfortunately only works for servers etc, my pc is not
running any server service so the trick fails ;)

http://www.tweakxp.com/tweak1593.aspx

p.s.: to the original poster I wish I could help but I have no clue ;) I
wish you good luck ;)

Bye,
Skybuck.


.


Quantcast