Skip to Content
avatar image
Former Member

How to execute job for 10 min and after crossing it exception should be raised?

Hi ,

I am new to BODS.

My question is

I want to execute job for 10 min and for every 2 min job should be executed within 10 min.If i used file exists function in job, if file name exists job should be executed else job should be terminated after 10 min raising exception.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Sep 01, 2017 at 07:19 PM

    Hi Harsha,

    You can simply do this from management console "Schedule Batch Job" tab.

    After providing all the required details like start time and configuration etc..

    Select Multiple times a day

    then

    provide 10 in Duration(minutes)

    and Repeat interval(minutes):2

    Regards,

    Sreenivas

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 06, 2017 at 07:54 AM

    Hi Harsha,

    Instead of using file exists function directly you can use Sleep function, then you can check for the file for every 2 min using but here have to write logic for raising exception. Below image may be help full for you.

    Regards

    Chaitanya

    Add comment
    10|10000 characters needed characters exceeded