on 10-19-2015 12:31 PM
Hello Experts,
How to schedule a job once in a month in SAP IDM7.2.
Thank you
Ranjan
@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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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");
}
}
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Ranjan & Jai,
since I also have some jobs that I'd love to schedule monthly, I searched for a possibility some time ago and found none.
Maybe this is something new in IDM 8.0 (where, as far as I know, there are only preset scheduling rules and you can't create custom ones, so maybe they finally put a "monthly" option in there), but in IDM 7.2 (I'm on SP 😎 you only have this:
For the frequency-type the highest unit is "hour", so even there no chance to be creative, because you have the 24 hour timeframe in which is will run.
In short: I haven't found a way to go beyond "once a week" when it comes to the time gap. 😕
Regards,
Steffi.
Hi Ranjan,
Take a look at this script I developed way back when, IdM Thoughtplace: Fitting It Into the Schedule.
I hope it helps you. Not sure if you're running IDM 7 or 8, but it should point you in the right direction.
Good luck!
Matt
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.