init
This commit is contained in:
@@ -62,7 +62,7 @@ if __name__ == "__main__":
|
||||
hts.bot.sendMsg("Alive... close: {}".format(str(close_data)))
|
||||
INIT = False
|
||||
|
||||
if (int(THIS_TIME.strftime("%M")) % 50 == 0 or int(THIS_TIME.strftime("%M")) % 20 == 0):
|
||||
if int(THIS_TIME.strftime("%M")) % 50 == 0:
|
||||
vm = psutil.virtual_memory()
|
||||
vm_item = dict()
|
||||
vm_item['free'] = vm.available // (1024 * 1024)
|
||||
|
||||
Reference in New Issue
Block a user