Implementing python program running in background.

Rishabh Verma me at rishabhverma.me
Wed Apr 4 03:51:54 EDT 2012


I need to implement a simple python program, which will be using the oAuth
tokens and secrets of all users in out system and will be fetching some
stuff from a JSON API. The list of all these users(with a flag if they are
logged-in or not right now) is there in a Redis DB.

The JSON API needs to be queried every 5 minutes for a user who is not
logged-in right now, and every 2 minutes for a user who is logged in right
now. This program should always be running in the background.

What should be the correct way to implement this kind of a thing?
-- 
*Rishabh Verma
@rishabhverma <http://twitter.com/rishabhverma> | +91-8285687993
www.rishabhverma.me*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20120404/f4c70db8/attachment.html>


More information about the Python-list mailing list