Skip to content
Snippets Groups Projects
Commit ed89e661 authored by Nikolai.Hartmann's avatar Nikolai.Hartmann
Browse files

adjust search range in reporter.py to match cron interval

parent ada0c76a
No related branches found
No related tags found
Loading
......@@ -17,8 +17,9 @@ BASE_DIR = '/data/xrd/namespace'
# for now, parse the modified files from log files
logfiles = ["/data/xrd/var/log/xrootd.log", "/data/xrd/var/log/xrootd.log.1"]
# should match exactly the range since the last time this was run
ct = time.time()
start_time = ct - 3600
start_time = ct - 1800
end_time = ct
if 'XC_SITE' not in os.environ:
......
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