|
@@ -27,7 +27,7 @@ def diag_cal():
|
|
|
start_time=end_time-datetime.timedelta(seconds=900)#10分钟跑一次,一次取10分钟数据
|
|
|
start_time=start_time.strftime('%Y-%m-%d %H:%M:%S')
|
|
|
end_time=end_time.strftime('%Y-%m-%d %H:%M:%S')
|
|
|
-
|
|
|
+
|
|
|
|
|
|
|
|
|
host='rm-bp10j10qy42bzy0q77o.mysql.rds.aliyuncs.com'
|
|
@@ -259,7 +259,7 @@ if __name__ == "__main__":
|
|
|
SNnums_U7255=SNdata_U7255['SN号'].tolist()
|
|
|
SNnums=SNnums_L7255 + SNnums_C7255 + SNnums_6040 + SNnums_4840 + SNnums_U7255+ SNnums_6060
|
|
|
# SNnums=['MGMCLN750N215I005','PK504B10100004341','PK504B00100004172','MGMLXN750N2189014']
|
|
|
- SNnums = ['MGMLXN750N218N004'] #SNnums_6040
|
|
|
+ #SNnums = ['MGMLXN750N218N004'] #SNnums_6040
|
|
|
|
|
|
mylog=log.Mylog('log_diag.txt','error')
|
|
|
mylog.logcfg()
|