rename to jobrunner

This commit is contained in:
Waylon Walker 2023-11-05 19:04:33 -06:00
parent cbd5a39c2e
commit aca915c22b
No known key found for this signature in database
GPG key ID: 66E2BF2B4190EFE4
4 changed files with 0 additions and 0 deletions

14
jobrunner/pipeline.py Normal file
View file

@ -0,0 +1,14 @@
import time
import logging
logger = logging.getLogger()
logger.setLevel(logging.INFO)
logger.addHandler(logging.StreamHandler())
# log to ./log.log
logger.addHandler(logging.FileHandler("./log.log"))
for node in range(120):
print(f"running {node+1} of 120")
time.sleep(5)
logger.info(f"done {node}")