Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!olivea!samsung!zaphod.mps.ohio-state.edu!magnus.acs.ohio-state.edu!mcover From: mcover@magnus.acs.ohio-state.edu (Mark Coverdill) Newsgroups: comp.unix.aix Subject: Annoying mail messages Message-ID: <1991May20.164112.11050@magnus.acs.ohio-state.edu> Date: 20 May 91 16:41:12 GMT Sender: news@magnus.acs.ohio-state.edu Organization: The Ohio State University Lines: 23 Nntp-Posting-Host: top.magnus.acs.ohio-state.edu Since the standard setup for the RS 6000 is to put root in the ksh, I have utilized some of its features and have setup aliases in the .profile file. This causes root to get annoying mail messages from cron because cron reads the .profile when running the root file in /usr/spool/crontabs but it runs in the Bourne shell?! The mail message is from the cron daemon and basically says -bsh: alias: not found. The question is how can I get cron to run in the ksh or alternatively get cron to not read the .profile file in the root directory? I have alreadly tried different incarnations of putting #!/bin/ksh at the top of the root file for cron but that has not worked to date. I guess I could just remove the alias command but then that's no fun because I like the root environment the way it is. -- Mark Coverdill The Ohio State University Internet: mcover@magnus.acs.ohio-state.edu Columbus, Ohio