NEWS
clearSchedule doesn't delete schedule: Missed any changes?
-
Hello there,
"last year" my script was working fine face_with_rolling_eyes:
In a script (usage context: garden irrigation, thus unused for a while but also unchanged) I'm a scheduling function executions which I used to clear in case of any need to stop the whole process prematurely.
I'm using the exact code from the Github docs:
list = getSchedules(); list.forEach(schedule => clearSchedule(schedule));This worked (at least last year). Now, with adapter v 9.0.11 (stable) or 9.1.1 it does not any more.
When changed as follows, the log even ...
list = getSchedules(); list.forEach(schedule => log(JSON.stringify(schedule))); list.forEach(schedule => clearSchedule(schedule)); list = getSchedules(); list.forEach(schedule => log(JSON.stringify(schedule)));... show the same scheduler list twice.
DId I miss relevant changes not reflected in the Github docs?
-
Hello there,
"last year" my script was working fine face_with_rolling_eyes:
In a script (usage context: garden irrigation, thus unused for a while but also unchanged) I'm a scheduling function executions which I used to clear in case of any need to stop the whole process prematurely.
I'm using the exact code from the Github docs:
list = getSchedules(); list.forEach(schedule => clearSchedule(schedule));This worked (at least last year). Now, with adapter v 9.0.11 (stable) or 9.1.1 it does not any more.
When changed as follows, the log even ...
list = getSchedules(); list.forEach(schedule => log(JSON.stringify(schedule))); list.forEach(schedule => clearSchedule(schedule)); list = getSchedules(); list.forEach(schedule => log(JSON.stringify(schedule)));... show the same scheduler list twice.
DId I miss relevant changes not reflected in the Github docs?
@revilo1337
Did you post in the English section intentionally?
Why do you use German language then? -
No intention, but perhaps some degree of incompetence. I can do it in English too though :)
-
No intention, but perhaps some degree of incompetence. I can do it in English too though :)
@revilo1337 I think you shoud prefer the German section.
You'll address 99.9% of all users there -
H Homoran sperrte dieses Thema
-
Follow here
https://forum.iobroker.net/post/1332936
Hey! Du scheinst an dieser Unterhaltung interessiert zu sein, hast aber noch kein Konto.
Hast du es satt, bei jedem Besuch durch die gleichen Beiträge zu scrollen? Wenn du dich für ein Konto anmeldest, kommst du immer genau dorthin zurück, wo du zuvor warst, und kannst dich über neue Antworten benachrichtigen lassen (entweder per E-Mail oder Push-Benachrichtigung). Du kannst auch Lesezeichen speichern und Beiträge positiv bewerten, um anderen Community-Mitgliedern deine Wertschätzung zu zeigen.
Mit deinem Input könnte dieser Beitrag noch besser werden 💗
Registrieren Anmelden