Schedule_function Example?


Hi all.
I am trying to use schedule_function, but can’t really find where and how it should be applied. Right now I’m giving it a minute offset in time rules, and it prints the time at the end of my code for every minute. My questions are:
When using minute data, is there any advantage in using it?
Is there a way to make it check things that happen at the end of a minute?
Can anyone share an example that uses schedule_function?

If you have reached this far, maybe you can help me with this other question I have on the forum? Fill Multiple Orders or None
Its the reason I’m asking this in the first place.