sleep forever
This commit is contained in:
parent
a0c6de4c33
commit
d1df527181
1 changed files with 5 additions and 0 deletions
|
@ -59,3 +59,8 @@ scheduler.add_job(
|
||||||
days=1,
|
days=1,
|
||||||
args=(args.socket, args.outdir, args.stack, args.services),
|
args=(args.socket, args.outdir, args.stack, args.services),
|
||||||
)
|
)
|
||||||
|
try:
|
||||||
|
while True:
|
||||||
|
time.sleep(20)
|
||||||
|
except (KeyboardInterrupt, SystemExit):
|
||||||
|
scheduler.shutdown()
|
||||||
|
|
Loading…
Reference in a new issue