I have a Pyramid project that has some commandline routines via registered 
script entrypoints (e.g. the /scripts/ directory on the current 
cookiecutters).

A few of these routines need to be run while the pyramid web application is 
running.

I'd like to dummyproof this as much as possible and am trying to think of 
ways to ensure the server is running.  

Has anyone done something like this?

First I thought of PIDs/Semaphores, but there could be different 
configuration files used.

My current thought is calculating a hash of the ini file by both the 
commandline and server, and having an endpoint on the server publish it for 
comparison.  

Does anyone have a better idea?



-- 
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/pylons-discuss/8f7b3127-ccbe-4533-a988-1c1034f316dbn%40googlegroups.com.

Reply via email to