On Mon, Jun 27, 2005 at 12:17:00AM -0400, Christopher Bergeron wrote: > Does anyone know of an easy way for my script to determine if it's being > run from cron or from a user shell? Read about the 'tty' command. Try this example script, both manually and via cron: ANS=`tty` echo ANS: $ANS -- David A. De Graaf DATIX, Inc. Hendersonville, NC dad at datix.2y.net www.datix.us