Hi Salma,
Sorry to hear about your experience.
Can you share more details about your environment and steps to reproduce the issue?
Additionally, I just created a new timer function, which seems to work fine. Maybe you can use this to troubleshoot yours?
Source: https://github.com/pdebruin/functionspy/tree/main/8timer
Hope this helps,
Pieter