From caeec000c320143b73fe7961b22b4bb554d51e43 Mon Sep 17 00:00:00 2001 From: datechnoman Date: Thu, 14 Mar 2024 03:51:14 +0000 Subject: [PATCH] Roll back to prechange revert Update comment with correct directory --- urls_automated_cdx_processor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/urls_automated_cdx_processor.py b/urls_automated_cdx_processor.py index e89a165..c69c8b6 100644 --- a/urls_automated_cdx_processor.py +++ b/urls_automated_cdx_processor.py @@ -216,7 +216,7 @@ def main(): if filename.endswith(".cdx.json"): directory_output_file.write(f"{filename}\n") - # Process older files in /opt/cdxfiles/urls and /opt/cdxfiles/urls_tophosts + # Process older files in /opt/cdxfiles/urls and urls_tophosts older_than_48_hours = datetime.now() - timedelta(days=2) directories_to_check = [URLS_DIRECTORY, URLS_FILES_DIRECTORY]