on 03-15-2015 9:39 PM
Hi experts,
I want to schedule a job via the console management, I want my job to be run on 31/12 every year. I tried to use the calendar in the schedule batch job but I have only the option to select a day of a month.
Is there a way to specify that I want the job to be run on month 12 day 31?
I have another question : how can I get the history of a job that was executed?
Thank you for your help,
Sara.
Schedule your job on the 31st of each month.
Embed the complete logic in a conditional. Only execute it when date_part(sysdate(),'MM') = 12.
In this way, your job will be triggered 7 times a year, but terminate immediately in 6 out of 7 cases and only really execute once.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sara,
Answer to your another question.
You can check the history of any job execution by checking ALVW_HISTORY meta data table generated by BODS.
Thanks,
SB
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Sara,
you have to select the BOE scheduler. After that you can create a custom calendar in the BOE CMC. In this calendar you could create monthly or weekly dates, but you could create single dates to.
So you could select the 31.12.2015, click next year, 31.12.2016 and so on. I know, that is not the best practice, because you scheduler will end someday, but I do not know another way.
Regards
Severin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I hope you understand every step.
Regards
Severin
Hi Sara,
As you mentioned you want to use Data Services management console for execution of BODS Jobs.
Please refer the below steps for creation of schedule using Data Services management console:
Step I: Login in Data Services management console, go to Administrator
Step II: Click on Batch and select Local repository where you want to set the schedule for batch Job
Step III: Now go to batch Job Configuration and click in Add Schedule for specific job you want to set the schedule to run
Step IV: Now schedular page will open put the details:
Schedule Name: Test
Active: Enable that Option
Select a schedular:
BOE Or Data Services
Select scheduled day(s) for executing the job: Here i selected 12 & 31 for every month and also select recurring for every month
Step V: Now Select scheduled time for executing the jobs
Step VI: And also select Select job execution parameters that you want to see in Job execution Logs
Step VII: If any substitution parameter is associated with Jobs then update it
Step VIII: Click on Apply
Step IX: Now you can see the Batch > Batch Job Schedules is created
Currently i am not activated that batch job so please check the active box when you are creating schedule.
Hope this will help !!
Thanks,
Daya
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.