...
Code Block | ||
---|---|---|
| ||
scheduler.runAt(11.5, DoBatchProcess, "Some Argument", "Second Argument", "etc...") |
This function works by checking When run for the first time, the function will execute the batch process once and store the last run time in a text file in the working directory. Subsequent calls will check the current time and comparing compare it to with the scheduled run time every time the function is calledand last run time. This also means that a smaller component polling interval will result in a more timely execution.