Page 1 of 1

how to schedule job or sequence in unix

Posted: Wed Jun 02, 2010 1:52 am
by ds_dwh
how to schedule job or sequence in unix

here any specific comand is used or shell scipt is used to execute the job

any one share the comand or unix shell script information

atleast syntax information fine


Thank's

Re: how to schedule job or sequence in unix

Posted: Wed Jun 02, 2010 1:59 am
by g_rkrish
ds_dwh wrote:how to schedule job or sequence in unix

here any specific comand is used or shell scipt is used to execute the job

any one share the comand or unix shell script information

atleast syntax information fine


Thank's
Use cron in unix.

Posted: Wed Jun 02, 2010 2:21 am
by ArndW
The command you would need to use from cron is dsjob, the options are detailed in the documentation.

Posted: Wed Jun 02, 2010 3:25 am
by priyadarshikunal
what you need to use id a shell script which executes dsenv followed by dsjob to run the job. Then you need to use crontab to schedule it.

Or use the same syntax as datastage. Use director to schedule a job and then you will find an entry with syntax in crontab. Use the same syntax to call the jobs from crontab.

Re: how to schedule job or sequence in unix

Posted: Wed Jun 02, 2010 5:18 am
by Ragupathy
Hi

First write a syntax to run a job or sequence

and the schecdule using cron tab

Thanks

Posted: Wed Jun 02, 2010 12:13 pm
by DSguru2B
priyadarshikunal wrote: Or use the same syntax as datastage. Use director to schedule a job and then you will find an entry with syntax in crontab. Use the same syntax to call the jobs from crontab.
I would do this.