I have 3 scripts that needs to be executed. Two of them have continuous loop and will never stop runing as long as sensors are sending the data, and 3rd script will run only once every hour.
So lets say i have them like this:
sensorscript1 sensorscript2 Export
What would be the best method to create one single file to run this process? Would using threading be the best way to go in this case?
import sensorscript1, sensorscript2
from threading import Thread
Or would Flask app be better suited for this? Any other suggestions?