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

        api.update_stocks()