Skip to main content

TimerResponse


id: py-TimerResponse

TimerResponse

Timer registration structure used with TimerService.


Properties

PropertyTypeDescription
GroupstrLogical group name for the timer
NamestrUnique identifier within the group
TimerTimerChoiceThe timer configuration
TimerService.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