windows services
Francis Lavoie
francisl at aei.ca
Mon Oct 18 08:39:02 EDT 2004
vincent wehren wrote:
> Francis Lavoie wrote:
>
>> Is it possible to restart windows services? (remotely and locally)
>>
>> Because I have a little script that retreive the LastWaitTimeout key
>> of the automatic update, delete that key if it out schedule for our
>> production needs. But still the service need to be restarded if I
>> want that key to be reset, when Win Update will resynchronize with
>> the sus server for new update.
>>
>> Thankx
>>
> Mybe this helps:
>
> http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/59872
>
> --
> Vincent Wehren
Ok thank, that's working perfectly.
I also tried Michael Loritsch and Elbert Lev suggestion(win32service),
but that failed for some module, telling 'The specified service does not
exist as an installed service.'.
But win32serviceutil work perfectly. It is only undocument in the
pywin32 documentation but I think I'll have to search on google for
further information.
Thank you
More information about the Python-list
mailing list