better task recovery on restart

This commit is contained in:
ed
2021-03-21 05:57:24 +01:00
parent f991f74983
commit f5cb9f92b9
3 changed files with 49 additions and 9 deletions

8
bin/mtag/sleep.py Normal file
View File

@@ -0,0 +1,8 @@
#!/usr/bin/env python
import time
import random
v = random.random() * 6
time.sleep(v)
print(f"{v:.2f}")