Scheduling jobs to import data
On the BMC Communities website, the Pentaho packages for importing data from external data sources into BMC Remedyforce page contain a SchedulingFiles folder. This folder contains a sample batch file that you can use as a base to create your batch files for scheduling data import. For more information about scheduling a job, see http://wiki.Pentaho.com/display/EAI/Kitchen+User+Documentation.
To schedule the Remedyforce LDAP Pentaho package to import users, perform the following steps:
(For all other required packages, perform these steps by using the respective batch files.)
- Navigate to the Remedyforce Package folder.
- Rename your extracted package folder to SchedulingFiles.
- Open the folder where you have installed the Pentaho Data Integration tool and minimize this folder.
- Open the SchedulingFiles folder.
The folder contains two .bat files. - To create a copy of the batch file, copy SchedulingTransferLDAPInfo.bat file and paste it in the same folder.
- Right-click the SchedulingTransferLDAPInfo.bat file and click Edit.
The SchedulingTransferLDAPInfo.bat notepad opens. - Minimize the notepad and open the Pentaho data-integration folder as mentioned in Step 3.
Copy the data-integration folder address and navigate to the notepad as mentioned in Step 6.
The following figure shows an example of the updated SchedulingTransferLDAPInfo.bat file.
- Before the first line of the notepad, type cd and paste the copied data-integration folder address . (Make sure to add a space betweeen cd and the folder address).
- Paste the data-integration folder address in the Kettle Home folder address and remove the double quotes ("").
- Paste the data-integration folder address in the kitchen.bat file address by replacing only the part before \kitchen.bat.
- Navigate to the Remedyforce Package folder and copy the address for TransferLDAPInfo.kjb.
- Paste the TransferLDAPInfo.kjb address in between \kitchen.bat /file: and /level:Detailed. Remove the double quotes ("") and any additional spaces between the address.
- Save the notepad.
Related topics
Importing-data-from-BMC-Client-Management-by-accessing-the-database