Hello,
I have rule, that executes command line when item change state:
script is DSL rule:
executeCommandLine(Duration.ofSeconds(6),"/etc/openhab/scripts/resetmodbus.sh")
Why it is not working??
2020-12-07 00:27:16.937 [WARN ] [rg.openhab.core.io.net.exec.ExecUtil] - Failed to execute commandLine '[/etc/openhab/scripts/resetmodbus.sh]'
This .sh file works from ssh.
chmods are ok?
[00:33:24] openhabian@openHABianDevice:/etc/openhab/scripts$ ls -la
razem 24
drwxrwxr-x+ 2 openhab openhab 4096 gru 6 11:22 .
drwxrwxr-x+ 15 openhab openhab 4096 lis 12 00:16 ..
-rw-rw-r-- 1 openhab openhab 236 paĹş 6 01:31 readme.txt
-rw-rw-r-- 1 openhabian openhab 133 lis 23 00:53 resetmihome.sh
-rw-rw-r-- 1 openhabian openhab 133 gru 6 00:33 resetmodbus.sh