I’ll try again to describe my situation.
In the morning, when it is still dark I use the scheduler to turn on the lights in my daughters rabbit cages. When the darkness disappears I want the scheduler to turn off the lights, but this doesn’t work.I need to turn off the lights manually.
In the evening when it gets dark again I would like the scheduler to turn on the lights, but it doesn’t work so I need to turn them on manually.
By Midnight the scheduler does it’s task and turns the lights off as scheduled.
So it works only 2 of 4 times a day.
Hope I was a bit clearer now.