Skip to main content

TimerResponse

Timer registration structure used with TimerService.


Properties

PropertyTypeDescription
GroupstringLogical group name for the timer
NamestringUnique identifier within the group
TimerTimerChoiceThe timer configuration
Timer.register({
Group: 'maintenance',
Name: 'nightly-cleanup',
Timer: {
Cron: {
Expression: '0 2 * * *',
Payload: { task: 'cleanup' }
}
}
});
caution

The Name must be unique within its Group. Registering with the same Group + Name replaces the existing timer.


See Also