Analytics Builder 10.14.0 | Using Analytics Builder for Cumulocity IoT | Block Reference | Utility | Cron Timer
 
Cron Timer
apama.analyticskit.blocks.core.CronTimer
Sends a signal output based on cron-like periodic timer syntax.
The timer tick output is sent every time the time matches the pattern. Each parameter can be set to an asterisk (*) to match all times, a list of comma-separated numbers to fire at those specific times, or "* / number" to fire on every multiple of the number.
For example:
To send a signal every Wednesday at 20:30:
*Day of Week: 4
*Hour: 20
*Minute: 30
To send a signal every 5 seconds:
*Seconds: * / 5
The Days of Month and Days of Week parameters operate together such that if both are specified, then any match in either parameter triggers an output. For example, if Days of Month is set to 15 and Days of Week is set to 1, then there is an output on every Monday of the month and the 15th regardless of which day that is.
This block is not supported in simulation mode.
Parameters
Name
Description
Type
Notes
Seconds
The seconds at which to trigger the signal.
Range: 0 to 59.
string
Default: 0
Minutes
The minutes at which to trigger the signal.
Range: 0 to 59.
string
Default: *
Hours
The hours at which to trigger the signal.
Range: 0 to 23.
string
Default: *
Days of Month
The days of the month on which to trigger the signal.
Range: 1 to 31.
string
Default: *
Months
The months in which to trigger the signal.
Range: 1 to 12.
string
Default: *
Days of Week
The days of the week on which to trigger the signal.
Range: 0 (Sunday) to 6 (Saturday).
string
Default: *
Output Port Details
Name
Description
Type
Timer Tick
Sent at each trigger time based on the cron parameters.
pulse