예제 #1
0
 def get(self):
     hexunfetcher.usdx()
     sinafetcher.dji()
     icbcfetcher.agTD()
     icbcfetcher.silverRmb()
     icbcfetcher.goldUsd()
     self.write("Fetch completed!")
예제 #2
0
def jobFetchAll():
    try:
        hexunfetcher.usdx()
    except:
        traceback.print_exc()
		
    try:
        sinafetcher.dji()
    except:
        traceback.print_exc()
		
    try:
        icbcfetcher.agTD()
    except:
        traceback.print_exc()
		
    try:
        icbcfetcher.silverRmb()
    except:
        traceback.print_exc()
		
    try:
        icbcfetcher.goldUsd()
    except:
        traceback.print_exc()
    print "Fetch completed!"