From 3145e87a434552fdf93a17a995c0f5bd68e8aa24 Mon Sep 17 00:00:00 2001 From: A Farzat Date: Sat, 11 Oct 2025 09:15:07 +0300 Subject: Organize data_collector to be similar to data_analyser --- data_collector/__main__.py | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 data_collector/__main__.py (limited to 'data_collector/__main__.py') diff --git a/data_collector/__main__.py b/data_collector/__main__.py new file mode 100755 index 0000000..11791c2 --- /dev/null +++ b/data_collector/__main__.py @@ -0,0 +1,10 @@ +#!/usr/bin/env python + +from time import sleep +from components.database import subscriptions + +from .utils import collect_data + +while True: + collect_data(subscriptions) + sleep(60) -- cgit v1.2.3-70-g09d2