Communication between a Python process and a Python cgi script

Joonas Paalasmaa joonas at olen.to
Thu Apr 11 15:21:08 EDT 2002


I have a Python program started by root that does some magic stuff
every 10 minutes. So the program in an infinite loop of sleep, do stuff,
sleep, do stuff... How can I make a cgi-script to end the process's
sleep phase and make it to "do stuff" immediately. I tried signals, but
it is propably too risky because the process is run as root. Any
suggestions?



More information about the Python-list mailing list