Related Articles
How to Run a Shell Script as Automatic Start Up Service in Linux Centos
Follow below steps to Create start services at startup automatically in Linux. Run a Shell Script as Automatic Start Up Service 1. Create a Shell Script Serivce named myserviced(anyname is ok) in /etc/init.d dir 2. Add it to chkconfig sudo /sbin/chkconfig –add myserviced 3. To check whether the serivce is sucessfully added in chkconfig sudo […]
Open a Url onload of a Website or Pagee
You can able to load a webpage while accessing a particular Website using Javascript, see below for code. <script> function openWindow() { window.open(‘http://www.google.com‘,’a’,’height=300,width=600′); } </script> <body onload=”openWindow();”> </body>
Groovy Script SQL Connection Bonitasoft
Below is the SQL Connection for a Groovy Script for a SELECT Command in Bonitasoft BPM import groovy.sql.Sql;def host = “localhost”;def user = “bonita”;def pass = “bpm”;def schema = “bonita_journal”;def query = “SELECT * FROM BN_USER where USER_PRO_EMAIL_=’${email_Address__}’ limit 1”;def list=[];sql = providedscripts.BonitaSql.newInstance(“jdbc:mysql://${host}/${schema}”,user, pass, new com.mysql.jdbc.Driver())sql.eachRow(query,{row-> list.add(row.USER_USERNAME_)}); IdentityAPI api = apiAccessor.getIdentityAPI();User userObj = api.findUserByUserName(list[0]);User manager1 […]