Search found 4 matches

by kimeh
16 Apr 2015 17:25
Forum: Discussions in English
Topic: Execute external shell script
Replies: 22
Views: 13276

Re: Execute external shell script

thanks, Now it works!
by kimeh
15 Apr 2015 20:34
Forum: Discussions in English
Topic: Execute external shell script
Replies: 22
Views: 13276

Re: Execute external shell script

Thanks for quick reply. I moved sendEmail script to storage folder, renamed to sendEmail.sh and also updated .syscommands file. Still having problems. Server log file shows: [2015-04-15 17:31:07.469] [core] --- Code_Device_toggleButton_16 performCommand processing: {"0":"on","1":{}} [2015-04-15 17:3...
by kimeh
15 Apr 2015 19:21
Forum: Discussions in English
Topic: Execute external shell script
Replies: 22
Views: 13276

Re: Execute external shell script

Quick update:
I also tried os.system(/opt/z-way-server/automation), system(/opt/z-way-server/automation) and added /opt/z-way-server/automation to .syscommands file
by kimeh
15 Apr 2015 18:59
Forum: Discussions in English
Topic: Execute external shell script
Replies: 22
Views: 13276

Re: Execute external shell script

I have same kind of problem. I created "sendMail" script to /opt/z-way-server/automation folder. Then I created toggleButton - CodeDevice and "Code for action on" is set to os.system(sendMail) Now I tried to push toggleButton from the Widget view but nothing happens and email never sent. I have veri...