Cron and forcing the use of ksh

From: James S. Siojo (jsiojo@sabiosolutions.com)
Date: Thu Jan 16 2003 - 02:29:11 EST


Hi All,

I have determined that the reason various scripts are failing when run
in cron is because cron uses /bin/sh instead of /bin/ksh to execute the
scripts. Sourcing the .profile in the crontab only sets the environment
variables but does nothing to set the shell. How do I force the use of
the korn shell for running cron jobs. The user that is executing the
cron jobs has the korn shell as its' default but cron insists on NOT
using the korn shell.

Please help.

Will summarize.

Thanks in advance.

- James
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:25:36 EDT