Schedule a repeating event in Python 3
You could use threading.Timer, but that also schedules a one-off event, similarly to the .enter method of scheduler objects. The normal pattern (in any language) to transform a one-off scheduler into a periodic scheduler is to have each event re-schedule itself at the specified interval. For example, with sched, I would not use a loop … Read more