From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7077 invoked from network); 6 Feb 1997 11:17:02 -0000 Received: from euclid.skiles.gatech.edu (list@130.207.146.50) by coral.primenet.com.au with SMTP; 6 Feb 1997 11:17:02 -0000 Received: (from list@localhost) by euclid.skiles.gatech.edu (8.7.3/8.7.3) id GAA08758; Thu, 6 Feb 1997 06:09:20 -0500 (EST) Resent-Date: Thu, 6 Feb 1997 05:48:48 -0500 (EST) Date: Thu, 6 Feb 1997 11:50:53 +0100 From: jarausch@igpm.rwth-aachen.de (Helmut Jarausch) Subject: Is there any magic to use ZSH in cron scripts ? To: zsh-users@math.gatech.edu Message-Id: X-Mailer: TkMail 4.0beta8 Resent-Message-ID: <"4KtPp1.0.S62.FSR-o"@euclid> Resent-From: zsh-users@math.gatech.edu X-Mailing-List: archive/latest/672 X-Loop: zsh-users@math.gatech.edu X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu Hi, any script executed by cron is executed by the Bourne shell (on my machine, I don't try to replace /bin/sh by zsh) Is there any trick to use zsh? Unfortunately #!/bin/zsh is not recognized when a script is executed by /bin/sh. The only work around for me is exec /bin/zsh << 'EOF' .... But then - there is an additional exec - the parameters to the script are lost Is there any magic available? Thanks for any hints, Helmut Jarausch. -- Helmut Jarausch Lehrstuhl f. Numerische Mathematik Institute of Technology RWTH Aachen D 52056 Aachen, Germany