Cron entries for DS jobs run scripts

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
ds_is_fun
Premium Member
Premium Member
Posts: 194
Joined: Fri Jan 07, 2005 12:00 pm

Cron entries for DS jobs run scripts

Post by ds_is_fun »

I need to set up cron entries for DS. Im doing it as below for differenct Sequences. I hope this is correct else pl. suggest.

10 19 * * * . Job1DSRun.sh > Job1DSRun_OP
10 20 * * * . Job2DSRun.sh > Job2DSRun_OP
10 21 * * * . Job3DSRun.sh > Job3DSRun_Op

Or would this be more functional?

10 19 * * * ./Job1DSRun.sh > Job1DSRun_OP
10 20 * * * ./Job2DSRun.sh > Job2DSRun_OP
10 21 * * * ./Job3DSRun.sh > Job3DSRun_Op

Thanks!
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

With cron I find it's always better to supply fully-qualified pathnames.

As to whether you need the "." command (or the source command), that's really a matter of personal preference, or whether or not "they" will allow you to have "x" permission on your scripts.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Post Reply