Schedule same job to run multiple times during the day

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

Post Reply
SWW
Participant
Posts: 29
Joined: Thu Nov 11, 2004 12:51 pm
Location: Louisville

Schedule same job to run multiple times during the day

Post by SWW »

Hi,

Has anybody schedule a single job to run multiple times during the day? When I go to the director I only see where you can schedule a job to run once, unlike in a DTS package where you can select every hour. Any help would be great.

Thanks in advance.

Steve
SWKYDERBY
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

:idea: You can actually 'Add to Schedule' as many times as you like. So you could, if you wanted to and the job runtimes don't overlap, have it run every hour by adding it to the schedule for each hour it should run.
-craig

"You can never have too many knives" -- Logan Nine Fingers
ketfos
Participant
Posts: 562
Joined: Mon May 03, 2004 8:58 pm
Location: san francisco
Contact:

Post by ketfos »

Hi,
You could also use a Unix utility like crontab to schedule it for multiple times.

Ketfos
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

How to use crontab on Windows?!!! :lol:

The "scheduler" interface in Director is the lowest common denominator between what you achieve with cron and AT. That's why it seems so limited. You can always modify the queued AT entry from a CMD shell.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
sagara
Participant
Posts: 2
Joined: Mon May 30, 2005 10:41 pm

Schedule same job to run multiple times during the day

Post by sagara »

Can I run the job multiple times but with difft parameters each time without having to key in the parameter values everytime it runs?
There are jobs that need to process multiple flatfiles and for each run the # of flatfiles could vary. So is there a way to schedule this without having to enter filenames as parameter for each run?

Any help would be much appreciated.

Thanks,
Sangeetha
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Basically, the answer to your question is 'no'. However, rather than hijack this thread (since your question isn't answered by scheduling a job multiple times) please repost your question as a new topic. This way we can help you with your particular issue without taking this topic off into the weeds. :wink: Thanks.

There are ways to do what you want, just not via adding a job to the schedule multiple times.
-craig

"You can never have too many knives" -- Logan Nine Fingers
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

ketfos wrote:You could also use a Unix utility like crontab to schedule it for multiple times.
As noted, using the DataStage 'scheduler' does put your job into cron (or at for a one-off) on a UNIX server. On a Windows server, it is building an AT entry for you. No reason to do that yourself, though you may find a reason to modify it after the fact - even though that can typically be handled via Director again with the 'Reschedule' option.
-craig

"You can never have too many knives" -- Logan Nine Fingers
Post Reply