objectif is to set free the cpu console to get new tick as quick as possible, itself is updating every minute , and your function only one time at the moment you want .
Just copy each part in your code :
- Variable in global scope
- exec function(); in init and start
- body functions() with yours
- and then separte part in start body. be carrefull about } of course, all of them are inside the others, so,
all the close one are at the end of start function }}}}}
Tell me if level of that can help or if it is too much "basic" for you
