Hi Stefan,
You are absolutely correct it is in fact the executeCommandLine that is the result of the error.
I’m essentially trying to get openHAB to restart/shutdown based on a item that I have created. This logic is all based on this guide: Beginner’s guide to an openHABian reboot/shutdown switch - Tutorials & Examples / Solutions - openHAB Community
The only difference being that I’m attempting to use ECMAScript 2021 instead of RuleDSL…
Thanks,