delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/05/23/18:14:37

X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
Subject: RE: 1.5.19: Problem with cron and microsoft devenv
Date: Tue, 23 May 2006 18:12:53 -0400
Message-ID: <C874DBE9D30B584587F8CD0EC34DA8BE019F86DC@EX00.idirect.net>
From: "Harig, Mark" <maharig AT idirect DOT net>
To: "Nick Forte" <rforte AT gmail DOT com>, <cygwin AT cygwin DOT com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id k4NMEadU028736

> 
> Another question I have is about cron and environment variables.  When
> I run a shell, even cmd /c, under cron the environment variable
> APPDATA doesn't get set.  This seems odd to me.  I believe APPDATA
> gets set from shell32 which should be loaded when cron runs 'cmd /c
> somescript.bat'.
> 

The simple crontab below will show you what environment variables cron
knows about.

* * * * * /usr/bin/env

Also, 'man 5 crontab' describes cron's handling of environment
variables.

--- 

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019