Running DataStage from a Cron job

Archive of postings to DataStageUsers@Oliver.com. This forum intended only as a reference and cannot be posted to.

Moderators: chulett, rschirm

Locked
admin
Posts: 8720
Joined: Sun Jan 12, 2003 11:26 pm

Running DataStage from a Cron job

Post by admin »

Hi everyone,
Could someone tell me what the command line would be to run a DataStage job from a Cron job? Thanks in advance for your help. Carol Gorrie


________________________________________

North of Scotland Water Authority
http://www.noswa.co.uk
Telephone: 0845 743 7437

NOTE: Privileged/Confidential Information may be contained in this message. If you are not the addressee indicated in this message (or responsible for delivery of the message to such person), you may not copy or deliver this message to anyone. In such case, you should destroy this message and kindly notify the sender by reply e-mail. This e-mail and any attachments are believed to be virus free but no responsibility is accepted for loss or damage arising in any way from receipt or use thereof. Opinions, conclusions and other information in this message that do not relate to the official business of the North of Scotland Water Authority shall be understood as neither given nor endorsed by it.
admin
Posts: 8720
Joined: Sun Jan 12, 2003 11:26 pm

Post by admin »

Hi Carol,

The best way to find out, is to schedule a job from Director that will run say everyday... then as the same user that scheduled the job, login to Unix and perform a cron -l ?? (I think, I need to lookup man cron). You should see how DataStage does it.

Alteratively, you can use dsjob... but the former is a better method.

Regards,
Anthony

--- Carol.Gorrie@NOSWA.CO.UK wrote:
> Hi everyone,
> Could someone tell me what the command line would be to run a
> DataStage job from a Cron job?
> Thanks in advance for your help.
> Carol Gorrie
>
>
> ________________________________________
>
> North of Scotland Water Authority
> http://www.noswa.co.uk
> Telephone: 0845 743 7437
>
> NOTE: Privileged/Confidential Information may be contained in this
> message. If you are not the addressee indicated in this message (or
> responsible for delivery of the message to such person), you may not
> copy or deliver this message to anyone. In such case, you should
> destroy this message and kindly notify the sender by reply e-mail.
> This e-mail and any attachments are believed to be virus free but no
> responsibility is accepted for loss or damage arising in any way from
> receipt or use thereof. Opinions, conclusions and other information
> in this message that do not relate to the official business of the
> North of Scotland Water Authority shall be understood as neither given nor
> endorsed by it.
>
>

http://shopping.yahoo.com.au - Yahoo! Shopping
- Get organised for Christmas early this year!
Locked