Problem executing scripts (extcommands.xml)
Hi,
im trying to execute some scripts through the dashboard (v0.92). Add following to the extcommands.xml...
The button show up in the dashbaord but nothing happens on executing.
im trying to execute some scripts through the dashboard (v0.92). Add following to the extcommands.xml...
The button show up in the dashbaord but nothing happens on executing.
<command>
<name>Testbutton</name>
<execute>sudo cat /var/lib/Repetier-Server/database/file.py | ssh root@xxx.xxx.xxx.xxx python</execute>
</command>
I tried also a normal bash script... but this is also not working.
<command>
<name>Testbutton</name>
<execute>sudo /var/lib/Repetier-Server/database/shutdown.sh</execute>
</command>
Also changed the rights from the files to 775 without success.
When i execute the commands through CLI everthing works fine.
Anyone an idea?
Thanks in advance
dev_printer
When i execute the commands through CLI everthing works fine.
Anyone an idea?
Thanks in advance
dev_printer
Comments