Answer the question
In order to leave comments, you need to log in
How can you "put to sleep" the application?
I have a similar script:
....
while 1:
count = requests,post(url, data=data).json()['count']
print('[i] Count: {0}".format(count))
time.sleep(60*60) # 1 hour
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question