From d36d5ca79ec335e94b7d7431a4272ed9ee6035b3 Mon Sep 17 00:00:00 2001 From: datechnoman Date: Tue, 12 Mar 2024 04:22:07 +0000 Subject: [PATCH] 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 8e8497c..40f9ba1 100644 --- a/urls_automated_cdx_processor.py +++ b/urls_automated_cdx_processor.py @@ -209,7 +209,7 @@ def main(): if filename.endswith(".cdx.json"): directory_output_file.write(f"{filename}\n") - # Process older files in /opt/cdxfiles/urls and urls_tophosts + # Process older files in /opt/cdxfiles/urls and /opt/cdxfiles/urls_tophosts older_than_48_hours = datetime.now() - timedelta(days=2) directories_to_check = [URLS_DIRECTORY, URLS_FILES_DIRECTORY]