execute scripts remotly (ssh)?

1
0
-1

Hi guys,

I´m a begginer with bonita bpm but i heard about the great capabilities from this tool. Can you clarify if it is possible to create a process where we schedule a script execution? Then i need to read script output and define some conditions to contiue the process. It is possible? There is some example available similar to the described?

Thanks in advance.

1 answer

1
0
-1

Hi,

you can use a System Script connector. see http://documentation.bonitasoft.com/script-connectors

Regards,

Comments

Submitted by ttoine on Thu, 06/12/2014 - 10:59

An example that show how to use it is available ine the projects section:
http://community.bonitasoft.com/project/display-system-info

Submitted by amrg24 on Thu, 06/12/2014 - 11:18

Thanks guys,

There is any connector that allow me to connect to a virtual machine (ssh) and execute system scripts under this machine?

Thanks in advance.

Submitted by jeremy.jacquier-roux on Thu, 06/12/2014 - 11:47

Hi,

Aurelien's answer should do the job. You can execute your own script to connect your VM like you want. Maybe that the difficulties are due to your Operating System? I don't know well Windows and I'm not sure that you can use Putty in CLI for example. But if you would like something working on different kind of platforms you may take a look on python with the paramiko module (it implements the SSH2 protocol for secure connections to remote machines).

Regards,

Jérémy

Notifications