-
Notifications
You must be signed in to change notification settings - Fork 0
/
writemc2.py
55 lines (37 loc) · 1.75 KB
/
writemc2.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
## -*- coding: utf-8 -*-
import download
import process, processcl, processdh, processrep
import importmem, shangxiaxian_jisuan
import importmemdh
from mylog import log
import datetime,time
def main():
today=datetime.datetime.now().strftime('%Y-%m-%d')
log("***********************" + str(today) + "******************************")
log("writemc:"+str(today)+" start at "+str(time.asctime()))
#download.main()
#log("donwnload:"+str(today)+" end at "+str(time.asctime()))
#print " end at "+str(time.asctime())
#process.main()
#log("process:"+str(today)+" end at "+str(time.asctime()))
#print "process:"+str(today)+" end at "+str(time.asctime())
#processcl.main()
#log("processcl:"+str(today)+" end at "+str(time.asctime()))
#print "processcl:"+str(today)+" end at "+str(time.asctime())
#processdh.main()
#log("processdh:"+str(today)+" end at "+str(time.asctime()))
#print "processdh:"+str(today)+" end at "+str(time.asctime())
importmemdh.main()
log("importmemdh:"+str(today)+" end at "+str(time.asctime()))
print "importmemdh:"+str(today)+" end at "+str(time.asctime())
#processrep.main()
#log("processrep:"+str(today)+" end at "+str(time.asctime()))
#print "processrep:"+str(today)+" end at "+str(time.asctime())
#shangxiaxian_jisuan.main()
#log("shangxiaxian_jisuan"+str(today)+" end at "+str(time.asctime()))
#print "shangxiaxian_jisuan"+str(today)+" end at "+str(time.asctime())
#importmem.main("select braid from branch where braid = '02058'")
#log("impormem:"+str(today)+" end at "+str(time.asctime()))
log("writemc:"+str(today)+" end at "+str(time.asctime()))
if __name__=="__main__":
main()