Key Actions (TimerHelper_BL)
Timer_Helper_Init
Timer_Helper_Reset
Timer_Helper_GetLast
Timer_Helper_SetLast
Timer_Helper_GetLastIndex
Timer_Helper_SetLastIndex
Timer_Helper_GetLastRecord
Timer_Helper_SetLasRecord
Get_SP_StopAllTimer
Set_SP_StopAllTimer
Auto-initialization on First Run
The Timer_Helper_Init action is designed to be called at the beginning of every timer execution. On the first run, it automatically creates and persists the timer configuration record in the database, using the default values defined as input parameters (timer name, module name, max records, and timeout). On subsequent runs, it simply retrieves the existing configuration, ensuring zero manual setup is required — the timer registers itself the first time it executes.
Examples