Enabling a timer is not enough. I changed the code, so that after a timer is enabled, he is also started. Otherwise, the timer would work only after a reboot. So enables the timer, but he is executed after a reboot. enables the timer instantly.