Represents a task that is set to run repeatedly.
Executes the task repeatedly according to the delay and period.