Skip to content

On timer#

The On timer task emits an event every time the configured interval passes, while it is enabled.

Screenshot showing a timer interface with interval and timestamp fields.

Inputs#

Name Data Type Description
Interval Integer Interval to emit
NumberOfOccurrences Integer Number of occurrences to trigger the cron job after activation/reactivation. Leave 0 to ignore the counter
Enable/Disable any Activates the timer execution

Outputs#

Name Data Type Description
Timestamp DateTime Current time upon execution
Success Boolean If there was no problem emits a true
Error Error Error that occurred during the processing of this task

Settings#

Name Data Type Default Description
Auto Enable Boolean true Activates the cronjob execution
Interval Integer 10000 Trigger the timer every number of milliseconds
Number of Occurrences Integer 0 Default number of occurrences to trigger the cron job after activation/reactivation. Leave 0 to ignore the counter

Behavior#

The On timer task, lets you set actions that occur every set amount of time, for a set number of times.

The NumberOfOccurrences count starts again each time the task is enabled. A true on the Enable/Disable input while the timer is running is ignored.