Open IvanOsyanin opened 2 years ago
I've tested the work of this code more carefully, it turned out that the delay occurs when the script sends the morning report (scheduler1, thr_pending_1)
i also have a similar problem, what is the workaround for it? Thanks.
I have a script for a Raspberry Pi, which should send reports two times a day at 8:10 and at 20:10 according to a schedule. But usually the task (send data function) starts from 2-10 minutes late from the time scheduled, though I use multiply schedulers. Sometimes the tasks start at accurate time. It would be very interesting to find out why.
I understand that when the schedulers are executed sequentially, their work can affect each other. But in this case I run each of them in a separate thread.
The schedule associated part of my code:
main.py