def job(self): try: update_industries() update_tickers() except: print "UpdateDB died for an unknown reason."
def handle(self, *args, **options): if options['quick']: api.update_industries() api.update_tickers() api.update_stocks()