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*
-- http://mail.python.org/mailman/listinfo/python-list