[comp.unix.questions] cron won't use my .login path definition

deal@eis.Kodak.COM (Steve Deal) (09/12/90)

--


Environment: SunOS 4.0.3 on a Sun 3/260
Shell:	csh

I am trying to get cron to run a csh script that I have written. The script
requires my path (defined in my .login) and runs fine interactively.
However when cron tries to run it it does so using sh (ref. crontab(5)) and 
doesn't execute my .login or .cshrc so my path is never defined.

Question:
	How can I get cron to execute my .login (or .cshrc) and then run my
	csh script under csh instead of sh?

Thanks in advance,

Email replies to:
  ===========================================================================
  | Steve Deal	 	| Internet: deal@Kodak.COM			    |
  | Eastman Kodak Co.	| UUCP:     ...rutgers!rit!kodak!eis!deal           |
  | Engr. Systems Div.	| Voice:    (716) 726 - 5396			    |
  | mailcode: 35108	| FAX:	    (716) 726 - 7406			    |
  | 901 Elmgrove Road	| 					       	    |
  | Rochester, NY	| EIS... Engineering Information Systems	    |
  | 	   14653-5108   |		You can't build CIM without it!	    |
  ===========================================================================