cancel
Showing results for 
Search instead for 
Did you mean: 

Shedule a Batch job to run every one min

0 Kudos


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

View Entire Topic
Former Member
0 Kudos

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

0 Kudos

Hi Arun ,

Can we do that with the Dataservices sheduler?

Thanks,

David king J.

deepak_chodha
Explorer
0 Kudos

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.

Former Member
0 Kudos

Hi David,

In the schedule of management console there are two options - one weekly and daily, the other multiple times in a day. You could use the second option to schedule multiple times for your requirement. I don't recall the minute option but try that and see how it works.

Arun

0 Kudos

Hi Arun ,

My Job server is on UNIX .

Do i have export .sh file????

Can you please hel me with the alternate.

Thanks,

David king J.