OH2 Exec Command Issue

The following exec command used to work under OH1 but doesn’t under OH2:

Switch cmdOnOffServer	"Server an/aus" <knxuf_control_on_off> {wol="255.255.255.255#<MacAddress>", exec=">[OFF:net rpc shutdown -I <ip> -U <UserName>%%@<Password> -t0 -f]"}

I don’t see any hints in the openhab.log.

Any hints how I could solve the issue?

Thx, G.

When have you noticed this? There were some issues because of the new exec2.0-binding, which was implemented some days ago. Do you use the new 2.0 binding or the 1.9 binding?

I use the new 2.0 binding.

Did you adapt the configuration? The new binding needs a thing configuration (https://github.com/openhab/openhab2-addons/tree/master/addons/binding/org.openhab.binding.exec).

Yeah, that’ why I also stumbled with a similar error. You should continue to use the old 1.9 binding (exec1) or you have to adapt your configuration.