help with schedule job cyclic

All questions about Control-M jobs definitions
Post Reply
User avatar
davidtuti
Nouveau
Nouveau
Posts: 73
Joined: 27 Dec 2006 12:00

help with schedule job cyclic

Post by davidtuti » 01 Aug 2014 8:44

Hi,
I need a Job cyclic that execute from 0400 to 2200 hours.
If I have the new procedure day at 07.00.
How could I schedule? If I put 2200 until don't execute. The job does not delete with new procedure day?
Any help?
Many thanks

User avatar
fyot
Nouveau
Nouveau
Posts: 736
Joined: 26 Apr 2005 12:00
Location: PARIS
Contact:

Re: help with schedule job cyclic

Post by fyot » 01 Aug 2014 12:04

Hi

Look this post

User avatar
davidtuti
Nouveau
Nouveau
Posts: 73
Joined: 27 Dec 2006 12:00

Re: help with schedule job cyclic

Post by davidtuti » 01 Aug 2014 1:04

fyot wrote:Hi

Look this post
Thanks
But I cant solve my problem with these post.

I detail my problem:
I have a job cyclic from 04.00, and the job must execute every 30 minutes. Normally it fails and I search a determinate string to ended OK so by these way don't generate alert.
I have other condition in steps that if ended ok with compstat=0 add other condition to execute the post job.

The problem is that job must execute from 04.00 to 22.00 (as long as the job not ended with compstat=0) and the new procedure day begins at 07.00 so the cyclic job is deleted at 07.00

Do you know some solution that could I apply?
Thanks, sorry for my english!

User avatar
fyot
Nouveau
Nouveau
Posts: 736
Joined: 26 Apr 2005 12:00
Location: PARIS
Contact:

Re: help with schedule job cyclic

Post by fyot » 01 Aug 2014 1:54

Other way is to have two job identical but up to plan to the day after.

First from 4:00 to 7:00
Second from NDP to 22:00

If job need to wait conditions, use PREV date in job definition.

User avatar
davidtuti
Nouveau
Nouveau
Posts: 73
Joined: 27 Dec 2006 12:00

Re: help with schedule job cyclic

Post by davidtuti » 01 Aug 2014 2:04

fyot wrote:Other way is to have two job identical but up to plan to the day after.

First from 4:00 to 7:00
Second from NDP to 22:00

If job need to wait conditions, use PREV date in job definition.

But.. .if the job finished OK at 0600 and also the post jobs. The jobs identical of the day after should not execute it

User avatar
fyot
Nouveau
Nouveau
Posts: 736
Joined: 26 Apr 2005 12:00
Location: PARIS
Contact:

Re: help with schedule job cyclic

Post by fyot » 01 Aug 2014 2:11

If job wait a condition, and if you delete condition after execution,
each of will not start if condition doesn't exist.

User avatar
jCarlos
Nouveau
Nouveau
Posts: 36
Joined: 19 Jun 2013 12:00

Re: help with schedule job cyclic

Post by jCarlos » 07 Aug 2014 2:26

does your ajf refresh on 0700?

User avatar
davidtuti
Nouveau
Nouveau
Posts: 73
Joined: 27 Dec 2006 12:00

Re: help with schedule job cyclic

Post by davidtuti » 07 Aug 2014 5:00

jCarlos wrote:does your ajf refresh on 0700?
Yes

User avatar
fyot
Nouveau
Nouveau
Posts: 736
Joined: 26 Apr 2005 12:00
Location: PARIS
Contact:

Re: help with schedule job cyclic

Post by fyot » 07 Aug 2014 8:26

But.. .if the job finished OK at 0600 and also the post jobs. The jobs identical of the day after should not execute it
No, new jobs will have new depencies considering new ODATE.
Jobs defined to be executed after 0700 must have condition with PREV ODATE

Post Reply