Commit c93a356c authored by 张彦钊's avatar 张彦钊

add print

parent 338e67b9
import os
def check():
out=os.popen("ps aux | grep diaryQueueUpdate.py").read()
flag = 1
flag = False
for line in out.splitlines():
if 'python diaryQueueUpdate.py' in line:
flag = 2
flag = True
return flag
if __name__ == "__main()":
if __name__ == "__main__":
print(8)
print(check())
print(900)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment