I have a number of maintenance tasks for a WSGI python application that are too complicated for crontab (work tasks must be performed at frequencies derived from the size of the job queue, manage the connection pool to the EC2 instance group, etc.).
How do I implement a long-running, event-driven python program? I have never needed this feature before, so I'm not even sure what to do with Google.
python
Parker ault
source share