I may have taken your code example too literally. I tried putting in
the check for 'shutdownEvent.isset()' but it's failing at run time.
It's looking for a global variable, I guess.
Do I have to register these threads somehow in the beginning?
I'm somewhat new to Python so please be patient...
DK wrote:
I may have taken your code example too literally. I tried putting in
the check for 'shutdownEvent.isset()' but it's failing at run time.
It's looking for a global variable, I guess.
Or perhaps it is just looking for correct capitalization, since Python
is case sensitive. Try
i was able to successfully create a windows service using py2exe. it
polls a website periodically and logs it to a file. this is done using
a function that does an infinite loop with periodic sleeps.
my question is...
what's the best way to stop this service gracefully?
when try to stop it from
DK wrote:
i was able to successfully create a windows service using py2exe. it
polls a website periodically and logs it to a file. this is done using
a function that does an infinite loop with periodic sleeps.
my question is...
what's the best way to stop this service gracefully?
when
Here are 2 recipes from the online Python Cookbook. I've used this one
very successfully:
http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/115875.
This one seems simpler:
http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/59872
Grig
--
Hi !
Use SC.exe (windows-XP) (with popen ?)
For help :sc /?
You can, also, try :
qprocess /?
tasklist /?
taskkill /?
etc.
@-salutations
Michel Claveau
--
http://mail.python.org/mailman/listinfo/python-list