Restarting Jobs after DataStage re-start
Posted: Wed Aug 08, 2007 10:20 am
Hi,
I have a requirement to re-start couple of Jobs when ever DataStage is recycled( stop and Start). Some of these jobs are infinite loop ( 1-99999) where in which jobs wait for a file to appear and process it and waits again. These are kept in a unix script file called '~/dsadm/Autostart/restart.sh' ( this file contain dsjob -run commands). I have a different set of jobs that are scheduled using cron ton run at specific time and days called '~/dsadm/Autostart/schedule.cron.file' .
1. Where should these 2 files be placed ( dsenv/.profile etc.) so that it get invoked after 'bin/uv -admin -start'?
2. What command should I use to invoke these (crontab <cron file name> etc. ) with an example
Thank you,
Joffi.
I have a requirement to re-start couple of Jobs when ever DataStage is recycled( stop and Start). Some of these jobs are infinite loop ( 1-99999) where in which jobs wait for a file to appear and process it and waits again. These are kept in a unix script file called '~/dsadm/Autostart/restart.sh' ( this file contain dsjob -run commands). I have a different set of jobs that are scheduled using cron ton run at specific time and days called '~/dsadm/Autostart/schedule.cron.file' .
1. Where should these 2 files be placed ( dsenv/.profile etc.) so that it get invoked after 'bin/uv -admin -start'?
2. What command should I use to invoke these (crontab <cron file name> etc. ) with an example
Thank you,
Joffi.