All the schedule works. Only your code crash but I don't have a reel squeezebox.
Try the code I join, you will see that the time table works Fine, Is the switch is on, you will get the message Switch is on every 10 secondes.
Check Your code I mask.
And why you create 2 switchs in the trigger code ?