Skip to end of metadata
Go to start of metadata

You are viewing an old version of this content. View the current version.

Compare with Current View Version History

Version 1 Next »

The SCHEDULER library is a helpful library for scheduling a process to run once a day at a specific hour of day. This is useful for running batch processes.

Use the scheduler.runAt() function to specify when a function or process should execute. Additional arguments can be passed for the function that will be called.

scheduler.runAt(11.5, DoBatchProcess, "Some Argument", "Second Argument", "etc...")

This function works by checking the current time and comparing it to the scheduled run time every time the function is called. This means that a smaller component polling interval will result in a more timely execution.

  • No labels