Search found 4 matches
- 16 Apr 2015 17:25
- Forum: Discussions in English
- Topic: Execute external shell script
- Replies: 22
- Views: 27246
Re: Execute external shell script
thanks, Now it works!
- 15 Apr 2015 20:34
- Forum: Discussions in English
- Topic: Execute external shell script
- Replies: 22
- Views: 27246
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",&quo...
- 15 Apr 2015 19:21
- Forum: Discussions in English
- Topic: Execute external shell script
- Replies: 22
- Views: 27246
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
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
- 15 Apr 2015 18:59
- Forum: Discussions in English
- Topic: Execute external shell script
- Replies: 22
- Views: 27246
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 nev...