Get the current state of a schedule
GetSchedule( scheduleno, time=[now] )
Return the current state of a schedule at the given time.
scheduleno | Schedule number (1-20) |
time | UNIX timestamp of when to evaluate the schedule (optional, default=current time |
Returns true if the schedule is active at the time given. False otherwise.
new x; if( GetSchedule(1) ) PDebug("Schedule active");