feature request: a new scheduler attribute

Hello!

I had a problem with a script that is run by scheduler each minute. The script sometimes cannot finish its work in that minute because of high cpu load and thus the scheduler runs the script again in parallel, the load increases even more and the script again cannot finish in a minute, the load grows more and more…

So here is a feature request: add a new scheduler attribute either to:

  1. count interval from the time the script finished last time
  2. skip running the script if previous invocation has not finished yet.
  1. You can use global variable to store time
  2. /system script job find. If script is in this list then it is not finished

Thank you!
I used the second approach.

Another question: is it possible to run a script once a new pppoe user connects? Preferrably with an argument of interface name.