Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
zsh in cron
- X-seq: zsh-users 13822
- From: Alan <alanwilter@xxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: zsh in cron
- Date: Thu, 12 Feb 2009 09:46:42 +0000
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=rZM30i80ZKIR2uF3jzErgn5y5dSjFXib9GLlA06zlBA=; b=MHmfMOQLFwlm8vXIX+XL2frt/7eKID201K4svxWzu1EsA/FqFT0F1FFhIvIzax4vb4 /bRUtcOnmL19dGUnd5/3zV9/NP38BAlQ3dJCgkBgP/zzYnxS1xh5UUl1rQ0TCRf8VzJY 0hXim6oKh/kJthvoPZVExiKPvB+VuIURdktbY=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=QJQA+zF0F8zFBRJesT7YuDqd0k8ZYRIcppFXAQto/z58vgU806L+2Lrjp+unPzXoAF EhrAh6yshJK2gfP1XJgl4CiZWfK0nrskxyLBmkd3J1VGPsgYm21Z8u0TX5wyHeYQXxbz w3DzzHbA75/9Wgt47e1PURR6F0Grx4I2dtvYc=
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
Hi there,
I am trying to get the whole env variables that I get when I am logged in but via cron:
I doing this with crontab -e:
* * * * * zsh -lc "env" >& $HOME/out
but "out" shows me just a few lines when I was expecting to see more than 100 lines.
If I do something similar in a computer where my shell is tcsh:
* * * * * csh -c "env" >& $HOME/out
It works as expected.
Any help would be very appreciated. Many thanks in advance.
Alan
--
Alan Wilter S. da Silva, D.Sc. - CCPN Research Associate
Department of Biochemistry, University of Cambridge.
80 Tennis Court Road, Cambridge CB2 1GA, UK.
>>
http://www.bio.cam.ac.uk/~awd28<<
Messages sorted by:
Reverse Date,
Date,
Thread,
Author