Process Scheduler
The Process Scheduler component demonstrates how to set up a component to use the SCHED Library to schedule a batch process.
Running the Component
STEP 1: Import the Process Scheduler component
Using +COMPONENT, import the Process Scheduler component
STEP 2: Optionally, adjust the polling interval
Tip: since the SCHED function runs a check on the time every time the component polls, a smaller polling time means the batch process will likely start closer to your scheduled time!
STEP 3: Start the component and wait for the process to run!
On startup, the component will run the batch process once to initialize the last run time. It will then only run the batch process at the scheduled hour every day. It will also display the last run time and next scheduled run time in the component card: