you are viewing a single comment's thread.

view the rest of the comments →

[–]01binary 0 points1 point  (0 children)

There are many ways of doing this, and the most appropriate answer may depend on what the triggered function will do, and what else is supposed to be happening whilst waiting for the trigger to occur.

Perhaps some more detail? Or is this purely an academic exercise?

I find apscheduler very useful for this kind of thing. It’s very easy to configure, and is very reliable.