I know how to register a scheduled event handler with the schedule.On method. But the Action handler doesn't have a parameter to provide the data. On the other hand, the OnData method have the data parameter, but I don't know how to trigger it only at specific timings.

How can I schedule an event handler which only get triggered at specified date/time rules?

Author