Homey.CronTask

const { CronTask } = require('homey');

This class should not be instanced manually, but retrieved using a method in ManagerCron instead.

Table of Contents

Events

.on('run')

This event is fired when the task runs

Parameters:
Name Type Description
data Object

The data object as provided at ManagerCron#registerTask.