I'm sure that
Script type
JavaScript
The problem
clearSchedule() does not clear the schedules set in a script:
list = getSchedules();
list.forEach(schedule => log(JSON.stringify(schedule)));
list.forEach(schedule => clearSchedule(schedule));
list = getSchedules();
list.forEach(schedule => log(JSON.stringify(schedule)));
This will print the same scheduler list twice whereas the second run is expected to yield an empty list.
(It used to work before but my script was unused during fall/winter season)
iobroker.current.log (in debug mode!)
No entries beyond above log output
Version of nodejs
v22.21.0
Version of ioBroker js-controller
7.0.7
Version of adapter
9.1.1 (9.0.11 same behavior)
I'm sure that
Script type
JavaScript
The problem
clearSchedule() does not clear the schedules set in a script:
This will print the same scheduler list twice whereas the second run is expected to yield an empty list.
(It used to work before but my script was unused during fall/winter season)
iobroker.current.log (in debug mode!)
No entries beyond above log output
Version of nodejs
v22.21.0
Version of ioBroker js-controller
7.0.7
Version of adapter
9.1.1 (9.0.11 same behavior)