delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/12/27/18:40:45

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-WM-Posted-At: MailAndNews.com; Thu, 27 Dec 01 18:40:25 -0500
X-WebMail-UserID: sdgoldst
Date: Thu, 27 Dec 2001 18:40:25 -0500
From: Scott Goldstein <sdgoldst AT MailAndNews DOT com>
To: cygwin AT cygwin DOT com
X-EXP32-SerialNo: 50000000
Subject: Starting program under bash as Scheduled Task
Message-ID: <3C2D9012@MailAndNews.com>
Mime-Version: 1.0
X-Mailer: InterChange (Hydra) SMTP v3.62

I would like to create a Windows 2000 Scheduled Task.  This task is a shell 
script that requires environment variables set within my .bashrc.

Is there any way to run bash (to set the environment variables) followed 
immediately by the shell script from a scheduled task or, similarly, from a 
desktop icon?

Thanks for the help.

Scott

------------------------------------------------------------
"Just a mirror for the sun...
 My smiling eyes are just a mirror for the sun."
------------------------------------------------------------


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.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