ManagerCron

Access this instance at HomeyAPIV3Local.cron.

Extends

  • HomeyAPIV3.ManagerCron

Classes

Instance Methods

getState

(async) getState(): Promise.<any>

Scopes

homey.system.readonly

HTTP

GET /api/manager/cron/state

Returns

Promise.<any>

Events

cronjob.create

.on('cronjob.create')

Parameters

Name Type Description
cronjob
HomeyAPIV3Local.ManagerCron.Cronjob

cronjob.delete

.on('cronjob.delete')

Parameters

Name Type Description
cronjob
HomeyAPIV3Local.ManagerCron.Cronjob

cronjob.update

.on('cronjob.update')

Parameters

Name Type Description
cronjob
HomeyAPIV3Local.ManagerCron.Cronjob
info
object
newValues
object

An object with only the new values of the cronjob

oldValues
object

An object with only the old values of the cronjob

changedKeys
Array.<string>

An array of keys of the properties that have changed

}