This also can be found from:
This is a note for future.
I had some issue in using EdgeX Go device SDK (Delhi) because a previously registered scheduler event (turnOnSwitch) made the bool variable being kept to be true once every 10 seconds (even after the components are removed from the configuration.toml).
To remove the unnecessary schedule event, please follow the steps below:
Use this API to retrieve the ID of the schedule event:
(In my case) the ID is:
In PostMan, send a DELETE request with the id:
This is valid for Delhi or older versions not Fuji and newer as the mechanism has been changed.