The Periodic trigger runs the operation, at a regular interval based on the start time in the display unit.
onInterval(1, $Enums.Interval.Seconds, ()=>{
1 2
});
1: Length of interval
2: Units are 'OneHundredMSecs', 'Seconds', 'Minutes', or 'Hours'.
The start time depends on the script you created.