summaryrefslogtreecommitdiff
path: root/data_collector/__main__.py
blob: 11791c248f244344749c4b087e1f22ff81b83815 (plain) (blame)
1
2
3
4
5
6
7
8
9
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)