Credit to the author from this site:
https://codinginfinite.com/creating-scheduler-task-seconds-minutes-hours-days/
I can define the task execution parameter i