Hi Dischi, > It is done that way. When the shutdown helper has a new wakeup time, > it is set, even when it is not running shutdown. You may have an delay > of 30 minutes max. 30 minutes is the max delay the helper asks for the > status. So when the status is asked, the scheduke changes, at least 30 > minutes later the wakeup time is set.
Sorry, I did not understand the code correctly there. > > Is that what you want? > Yes, my fault! > > There could be several possible ways to shutdown the system. > > Yes, and it is now. But between schedule a new program and shutdown > you need at least 30 minutes. But I often just call halt. But that is > also not so good, system shutdown should not work when freevo is busy > (not idle, busy). > > So maybe write something like 'freevo showdown now'. This will connect > to the running shutdown helper and should shutdown the system without > checking idletime and apps. Only respect wakeuptime and busy > (recording now). Yes, okay, that would work. > > > The shutdown helper is just one possibility, although in my opinion the > > most important. > > But the user can also choose to shutdown the system from the menu. > > As far as a understand the code, in that case no wakeup would be scheduled. > > The wakeup is scheduled in the shutdown helper. > > > Moreover a shutdown from a ssh shell or from pressing the power > > button are possible. Maybe the user even choose to not shutdown his > > system automatically at all, but always manually, but still want to > > have the wakeup feature. > > A bit strange. The computer wakes up and will never shut down. Anyway, > you could add 'python' to the list of important programs. This way, > the helper won't shut down when python is running == never. Was not my idea! :-) Thanks for your answer. You are right, that should work as it is now. Maybe I will make just a few additions. But first I will have to study your code more thouroghly. Sorry again, for the misunderstanding. Greetings Tanja __________________________________________________________ Mit WEB.DE FreePhone mit hoechster Qualitaet ab 0 Ct./Min. weltweit telefonieren! http://freephone.web.de/?mc=021201 ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Freevo-devel mailing list Freevo-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-devel