Gijo mathew schrieb:
> Sorry i didn't get you
> 
> i have to stop the application through the same program only
> tried sys.exit it is not working

The easiest way would be to save the PID of the server to a file on
startup and then use a cronjob that reads the PID from this file and
kills the process.

This, of course, assumes that TG is running on a server which you
control. Otherwise the running time restriction wouldn't make sense
anyway, since the user could always change the source code to change the
 timeout.

Chris

-- 
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.

Reply via email to