It is early in the morniing and my brain may not be working but isn't 0 and 24 actualy the same time (ok technicaly different days) on the clock .Which means the code will block every hour of the 24 hour day
Should the setting be 0 and 23 or 1 and 24 for the code to allow standby for every hour of the 24 hour day.
When changed to 1 - 24 and the service stop/started (needs this to initialize the setting) you do get a correct
2008-05-24 08:13:52.492625 [TVService]: PowerScheduler: Standby allowed until 0 o' clock
2008-05-24 08:13:52.498484 [TVService]: PowerScheduler: Standby allowed starting at 1 o' clock
Why dont let the tv-server ping the clients and if one or more of them answer, dont let the server go into sleep?
Then you can do other things on the client, I do that on my clients, but with my own program, shouldn't that be a god thing?
I also have a program in my clients that starts the server if its sleeping, the program uses wake on lan feature.
[not bothering with the spec block 'cos it's not a support request]
I like this feature - it's better than having to fire up the setuptv tool and reconfigure powerscheduler if I decide the machine can switch itself off now (it's a single-seat installation, and I use the machine for plenty of other stuff)
It got me at first though, 'cos I'd like to allow standby between 23:00 and 08:00 - I set this to 23 for the first parameter, 8 for the second, and only figured out when I checked the logs that the first parameter has to be lower than the second. A little flexibility there would be useful.