Job Scheduling is not functioning.
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 18
- Joined: Wed Aug 05, 2009 12:32 am
- Location: kolkata
Job Scheduling is not functioning.
Hi,
What can be the reason for scheduling being not in action for a job in Datastage Server edition 7.5.1A ? (Operating system is UNIX). Can it be realted to Operating system, though the scheduling is done from Datastage Director?`
Thanks in advance.
SR
What can be the reason for scheduling being not in action for a job in Datastage Server edition 7.5.1A ? (Operating system is UNIX). Can it be realted to Operating system, though the scheduling is done from Datastage Director?`
Thanks in advance.
SR
Jayeeta Dutta
-
- Participant
- Posts: 597
- Joined: Fri Apr 29, 2005 6:19 am
- Location: Singapore
-
- Participant
- Posts: 18
- Joined: Wed Aug 05, 2009 12:32 am
- Location: kolkata
-
- Participant
- Posts: 18
- Joined: Wed Aug 05, 2009 12:32 am
- Location: kolkata
As the job is supposed to run every day at a specific time, it should be using 'cron', I guess. I checked with UNIX. Cronjob is fine as far as I can make out. And for your information, this issue was faced just yesterday, which was not in place before that.chulett wrote:Was this a recurring schedule or a one-time one? The former uses 'cron' while the latter uses 'at'. Can you post the appropriate entry from the scheduler itself, cron or at? Meaning nothing from Direc ...
Thanks for ur constant help Creig.
Jayeeta Dutta
-
- Participant
- Posts: 597
- Joined: Fri Apr 29, 2005 6:19 am
- Location: Singapore
-
- Participant
- Posts: 18
- Joined: Wed Aug 05, 2009 12:32 am
- Location: kolkata
We didn't overwrite the scheduled job. We didn't even reschedule it to stop for an opinion. And won't the crontab file be overwritten if we reschedule the job, say in a different time?kandyshandy wrote:Did you overwrite the existing scheduled job yesterday (during some enhancements migration)? If yes, can you delete the cron entry and reschedule?
Jayeeta Dutta
-
- Participant
- Posts: 597
- Joined: Fri Apr 29, 2005 6:19 am
- Location: Singapore
[quoteWe didn't overwrite the scheduled job. We didn't even reschedule it to stop for an opinion. And won't the crontab file be overwritten if we reschedule the job, say in a different time?[/quote]
Yes and No. If you reschedule a job, then cron tab entry is taken care. But if you accidentally overwrite an existing scheduled job, it does not use the existing entry in crontab. In that case, we need to delete the cron entry and schedule the job again. I guess, the link is broken or something happens internally when the job is overwritten.
Again, this is specific to places where i have worked... or may be with release 7.x
Yes and No. If you reschedule a job, then cron tab entry is taken care. But if you accidentally overwrite an existing scheduled job, it does not use the existing entry in crontab. In that case, we need to delete the cron entry and schedule the job again. I guess, the link is broken or something happens internally when the job is overwritten.
Again, this is specific to places where i have worked... or may be with release 7.x
Kandy
_________________
Try and Try again…You will succeed atlast!!
_________________
Try and Try again…You will succeed atlast!!
-
- Participant
- Posts: 18
- Joined: Wed Aug 05, 2009 12:32 am
- Location: kolkata
Yes and No. If you reschedule a job, then cron tab entry is taken care. But if you accidentally overwrite an existing scheduled job, it does not use the existing entry in crontab. In that case, we need to delete the cron entry and schedule the job again. I guess, the link is broken or something happens internally when the job is overwritten.kandyshandy wrote:[quoteWe didn't overwrite the scheduled job. We didn't even reschedule it to stop for an opinion. And won't the crontab file be overwritten if we reschedule the job, say in a different time?
Again, this is specific to places where i have worked... or may be with release 7.x[/quote]
If I undersatnd properly, what u meant with 'the job is overwritten' is recompiling the job after any alteration. Am i correct?
Jayeeta Dutta
-
- Participant
- Posts: 18
- Joined: Wed Aug 05, 2009 12:32 am
- Location: kolkata
Creig i have done Unschedule-Add to schedule on that job. Let's see what happens. I will let u know. In the mean time, can u plz tell me what the difference b/w 'Rescheduling' and 'Unschedule-Add to schedule' a job is.chulett wrote:It couldn't hurt to Unschedule the job and then Add to Schedule again. If there's any doubt about what it did, do a "crontab -l" from the command line as the scheduling user and post it here. ...
Jayeeta Dutta
-
- Participant
- Posts: 597
- Joined: Fri Apr 29, 2005 6:19 am
- Location: Singapore
"overwritten" - Assume a job X in production environment which is scheduled. Meanwhile, business requested some enhancements to job X, which will be developed in DEV environment, tested and then migrated to other environments including production. Migration to production environment can be done in 2 ways. One is to delete job X in production environment and then import the enhanced job X from DEV. Other way is to OVERWRITE the existing job X while importing the enhanced job. Got it?
Kandy
_________________
Try and Try again…You will succeed atlast!!
_________________
Try and Try again…You will succeed atlast!!
-
- Participant
- Posts: 18
- Joined: Wed Aug 05, 2009 12:32 am
- Location: kolkata
Thnx kandy for ur patience..kandyshandy wrote:"overwritten" - Assume a job X in production environment which is scheduled. Meanwhile, business requested some enhancements to job X, which will be developed in DEV environment, tested and then migrated to other environments including production. Migration to production environment can be done in 2 ways. One is to delete job X in production environment and then import the enhanced job X from DEV. Other way is to OVERWRITE the existing job X while importing the enhanced job. Got it?
![Smile :)](./images/smilies/icon_smile.gif)
Jayeeta Dutta
-
- Participant
- Posts: 597
- Joined: Fri Apr 29, 2005 6:19 am
- Location: Singapore