Skip to content
Snippets Groups Projects
Commit 10990118 authored by Vladimir Bahyl's avatar Vladimir Bahyl
Browse files

Printing starting time

parent da8092ba
No related branches found
No related tags found
No related merge requests found
......@@ -36,6 +36,7 @@ import sys
import json
import logging
from random import shuffle
from datetime import datetime
from subprocess import STDOUT, check_output
##########
......@@ -87,6 +88,7 @@ def extract_eligible_tapes(disabledlibraries, tapepool):
# MAIN
#
##########
logging.info("Current time: " + format(datetime.now().strftime('%Y-%m-%d %H:%M:%S')))
# Extract the list of all tape pools from CTA (in the JSON format)
command = [ctaadmin, "--json", "tapepool", "ls"]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment