[SOLVED] Exec binding (2.0) executes by itself

Hi there,
i switched to the exec 2.0 binding and created a thing

Thing exec:command:livingroom-restart-rpi [
command=“ssh root@ reboot”

Without linking it to an item, its executed by itself at the start and maybe every minute again and again.
There is no Item change in the log, just outputs of the exec binding (in DEBUG mode).
Can somebody help???

Add ,interval=0 at the end of the command. As an alternative, you can do this with PaperUI, also

Ok thanks, that seems to work,

But i can’t find it here: http://docs.openhab.org/addons/bindings/exec/readme.html
Is this a bug or a feature?
Is the interval not 0 as default?

It´s in your link:
Thing exec:command:apc [command="/usr/local/bin/apcaccess status", interval=15, timeout=5, autorun=false] :wink:
Default is 60 seconds…

Yes, the interval is described, but not the default of 60sec.
Wouldn’t it be better to let the default be 0?

yes, maybe. but exec is for more use cases then only switches / wallplugs, so 60 secs can be usefull in other cases. for switches / wallplugs, it isn´t

I suggest that this default of automatic rerun after 60 seconds is described in the Exec 2.0 documentation which is linked to here.