How can I read when an schedule is active

hello.

is there a way to read this through an script ?

Possibly:
https://docs.inductiveautomation.com/display/DOC81/system.user.isUserScheduled

Depends on exactly what you’re trying to do.

if I create a dummy user scheduled and i´m ask for the schedule of this user i can get the info desired.

user = system.user.getUser(" ", " oper1")

if system.user.isUserScheduled(user):

print "oper1 is scheduled"

else :

print "oper1 is not scheduled"