getSchedulers

Top  Previous  Next

Lists all scheduler objects.

Definition

schedulers = scheduler.getSchedulers( )

Name

Type

Description

schedulers

table

Table of scheduler details indexed by scheduler id

Scheduler Details Record

Name

Type

Description

eventString

string

The eventstring for the scheduler

device

number

The event device number

id

number

The scheduler id

uuid

string

The scheduler uuid

Example

local schedulers = scheduler.getSchedulers( )

 

for id, schedule in pairs(schedulers) do

 print(schedule.eventString)

 print(schedule.device)

 print(schedule.uuid)

end

Availability

Lua