def run (self):             
           tmanager = TwitterManager()
           i = 0
           while True :
            try : 
                tmanager.fetchDataFromTwitter()                    
                time.sleep(60)
                i = i+1
                mlog.debug("how many requests %s" % (str(i),))
            except :
                exc_info = sys.exc_info()
                print "######################## Exception #############################"
                print '\n'.join(traceback.format_exception(*(exc_info or sys.exc_info())))
                print "################################################################"                    
                time.sleep(60)
from django.core.management import setup_environ
import settings
setup_environ(settings) 


from paypallistener.views import MrCrawler,TwitterManager



tmanager = TwitterManager()
tmanager.fetchDataFromTwitter()