Page 1 of 1

Cron entries for DS jobs run scripts

Posted: Thu Jan 10, 2008 10:57 pm
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!

Posted: Thu Jan 10, 2008 11:21 pm
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.