Skip to Content

How to schedule a job once in a month in SAP IDM7.2

Hello Experts,

How to schedule a job once in a month in SAP IDM7.2.

Thank you

Ranjan

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Oct 19, 2015 at 10:30 PM

    Hi,

    I think you can schedule a job to run daily and check the last execution date, then decide whether the job should be continue or not.

    Cheers

    Chenyang Xiong

    Add comment
    10|10000 characters needed characters exceeded

    • I have this script in usage in the first pass (ToGeneric) of a batchjob  which is scheduled daily at midnight:

      Source:

      Empty

      Destination:

      ACTUAL_DATE %$ddm.date8601%

      Script:

      function knf_local_stopIfNeeded(Par){

        var actualDate = Par.get("ACTUAL_DATE") + "";

        actualDate = actualDate.substring(5)

        if (actualDate != "01-01" && actualDate != "02-01" && actualDate != "03-01" && actualDate != "04-01" &&

        actualDate != "05-01" && actualDate != "06-01" && actualDate != "07-01" && actualDate != "08-01" &&

        actualDate != "09-01" && actualDate != "10-01" && actualDate != "11-01" && actualDate != "12-01"){

        uWarning("STOP due to not defined run date")

        uStop("STOP due to not defined run date");

        }

      }

  • Oct 20, 2015 at 04:20 PM

    @Matt & Dominik

    I also thought about creating a script to achieve this, but thought it waaaay more complicated than you guys are now showing me it has to be. D'oh! I wish I had asked this question myself two years ago.

    Thank you, Ranjan, for bringing it up! Now I have something new to use, too! 😊

    @Matt: Looks like I really need to dive into your IDM Thoughtplace. I bet I'll find some more solutions to current annoyances.

    Regards,

    Steffi.

    Add comment
    10|10000 characters needed characters exceeded

    • Steffi,

      There's all kinds of fun stuff there.  I started blogging so that I had a place to "remember" everything I learn / do. Once I got into SCN I moved most of my stuff here, but I didn't want to SPAM / Crosspost3 blog entries.

      I do update IDM Thoughtplace from time to time, usually non SAP IDM stuff (other technologies, project management or higher level Identity Management stuff) or where I need to have some "separation" from an official SAP stuff to vent an opinion or too.

      But yes, that script seemed to address a small lack in IDM.  I should test it in IDM 8 since scheduling seems to be somewhat limited from what I've heard.

      Matt

  • Oct 19, 2015 at 11:51 AM

    Hi Ranjan,

    Request you to read the documentation or check google before posting in here.

    Take a look at Configuring job options and Defining job scheduling

    In options tab, scheduling field will have a option "Monthly" in drop down.

    Kind regards,

    Jai

    Add comment
    10|10000 characters needed characters exceeded