Schedule Job automatically
Moderators: chulett, rschirm, roy
Schedule Job automatically
We have more than 30 schedules in our project. In case of any downtime we haev to reschedule all the 30 schedules manually. This is time consuming and error prone. So I was thinking of some solution where we can have the schedules in a excel and a job will read the excel and change the schedules accordingly.
I know that Datastage uses UNIX scheduler for scheduling. crontab & at will give you the info about all the schedules. But if you change the crontab / at schedule at the backend it doesn't affect the schedule in the DataStage Director.
Is there anyway to build such a job for rescheduling.
Arun
I know that Datastage uses UNIX scheduler for scheduling. crontab & at will give you the info about all the schedules. But if you change the crontab / at schedule at the backend it doesn't affect the schedule in the DataStage Director.
Is there anyway to build such a job for rescheduling.
Arun
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
-
- Participant
- Posts: 437
- Joined: Fri Oct 21, 2005 10:00 pm
Most people wouldn't use Director as the scheduling tool. Director through cron is a time based tool that cannot take into account the dependencies usually needed to build out a warehouse or any other system. This would cause you to build out super-sequence jobs, essentially putting every job and every dependency within a sequence. This would ensure that no job starts before its upstream dependency is complete, but is very rigid in structure. The rigidity will cause problems in the future if you need to rework your dependent objects based upon new requirements or peaks in your hardware utilization.Vishvas wrote:The only issue is that it won't be reflected in the director. The director will show a different schedule and the job will run at different schedule.
If you insist on timebased scheduling, I would ask if you have a scheduling tool in-house such as CTRL-M or Active Batch. These tools have the functionality built into them that you desire. IBM is not investing in the scheduler, so I wouldn't expect to see any improvement in the functionality in the future.
Just curious if you have thought about a pure dependency based scheduling model, without the time constraints of a scheduling tool. You would essentially track what is needed for a job to start, and when all of the upstreams dependencies kick off the next job.
Keith Williams
keith@peacefieldinc.com
keith@peacefieldinc.com
-
- Participant
- Posts: 437
- Joined: Fri Oct 21, 2005 10:00 pm
True. I could have answered the question without opening another discussion. However, when people are trying to make a square peg fit in a round hole I want them to know it.chulett wrote:Well... that's a whole 'nuther discussion and really outside of the scope of what was being asked here. All pretty much true, however.
Keith Williams
keith@peacefieldinc.com
keith@peacefieldinc.com