I have two functions: func1 and func2.
Both of them collect & write steaming data. I would like func1 to run for approximately 1 hour and then safely stop. It will then take a break for x minutes using time.sleep, and then start executing func2 which also runs for an hour.
The looping would look like: func1-sleep-func2-sleep-func1.
Ive learned about the Threading and Scheduling module, but I'm unsure on how to approach this problem. Any help would be appreciated.