update
This commit is contained in:
@@ -44,6 +44,10 @@ Check the service status:
|
||||
sudo systemctl status master_nebuleair.service
|
||||
|
||||
|
||||
Specific scripts can be disabled with config.json
|
||||
Exemple: stop gathering data from NPM
|
||||
Exemple: stop sending data with SARA R4
|
||||
|
||||
'''
|
||||
import time
|
||||
import threading
|
||||
@@ -71,8 +75,8 @@ def run_script(script_name, interval):
|
||||
|
||||
# Define scripts and their execution intervals (seconds)
|
||||
SCRIPTS = [
|
||||
("NPM/get_data_v2.py", 60), # Runs every 60 seconds
|
||||
("tests/script2.py", 10), # Runs every 10 seconds
|
||||
("NPM/get_data_v2.py", 60), # Get NPM data every 60s
|
||||
("loop/SARA_send_data_v2.py", 60), # Runs every 60 seconds
|
||||
("tests/script3.py", 10), # Runs every 10 seconds
|
||||
]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user