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!
Cron entries for DS jobs run scripts
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
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.
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.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.