Did I understand correctly?
I think you have an application, you setup that application to a client
as timed demo and you want that application stop working after trial
time passed.
if that is what you want, just write a python function cheching trial
time and call that function from every controller methods to check and
if trial time passed redirect to a page showing trial time passed.
I think you do not have to call that trial check function from every
controller methods, just put it in some most used methods.
Gijo mathew yazmış:
Sorry i didn't get you
i have to stop the application through the same program only
tried sys.exit it is not working
On Aug 11, 5:03 pm, "Diez B. Roggisch" <[email protected]> wrote:
On Wednesday, August 11, 2010 13:51:47 Gijo mathew wrote:
Hi
How do i kill a turbogear application through program?
Sample scenario
I have a 10 day trial version web app, which is running. On the 10th
day i have to exit the server.
Through program how can i make the application stop.
pls help me
This isn't twitter, you don't need to abbreviate...
The answer heavily depends on the way you deploy your system. I guess a
supervisord-based solution would be the best, using it's XMLRPC-interface to
stop a specific process.
Diez
--
You received this message because you are subscribed to the Google Groups
"TurboGears" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/turbogears?hl=en.