on 04-15-2015 2:25 PM
Hello all,
I'm new to data services . My requirement is to shedule a batch job to run every minute .
Please help me on this.
Thanks,
David king J
Hi,
Create an export execution command to generate a .bat file.
Inside the script call the .bat file using cmd.exe - exec ('cmd.exe','path of .bat file',8);
use sleep (60000); in the script
Use a if condition to check for the table or file.
syntax as below
if(file_exists(filename))
exec ('cmd.exe','path of .bat file',8);
sleep (60000);
Arun
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi David,
Once you have created a job you can easliy schedule it using DataServices Management Console.
1. Goto http://<servername>:<port>/DataServices like http://host2644:8080/DataServices
2. Click on Administrator tile.
3. On left side navigation panel select Batch -> select your repository-> Batch Job configuration.
4. Add a schedule with your requirements and activate it.
You can schdule using BOE or OS user. For more reference you can check: http://help.sap.com/businessobject/product_guides/sbods42/en/ds_42_mgmt_cons_en.pdf
Happy HANA, Deepak.
User | Count |
---|---|
87 | |
11 | |
8 | |
8 | |
7 | |
6 | |
6 | |
6 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.