I'm not sure if you can use the scheduled events that way. It might work, but I've only ever seen where the script evaluates that the comparison time matches the current time. I don't know what your script does, but if it's simply turning on/off a module, you can use the scheduled On/Off script that's already built in. Just enable it and set a time for whichever module you want turned on or off.