X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 	tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS
X-Spam-Check-By: sourceware.org
To: cygwin@cygwin.com
From: Andrew DeFaria <Andrew@DeFaria.com>
Subject:  Re: Automating a Cygwin Script From Windows
Date:  Fri, 28 Aug 2009 20:02:15 -0700
Lines: 13
Message-ID: <h7a5no$vln$1@ger.gmane.org>
References:  <25196125.post@talk.nabble.com>
Mime-Version:  1.0
Content-Type:  text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding:  7bit
User-Agent: Thunderbird 2.0.0.23 (X11/20090817)
In-Reply-To: <25196125.post@talk.nabble.com>
X-Stationery: 0.4.10
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

jprice wrote:
> I need to run a cygwin script directly via windows, probably via dos 
> prompt or some other comparable method. This method needs to be 
> automated and kicked off in Windows at certain times, so executing 
> Cygwin, then manually typing in the script to run in the Cygwin prompt 
> is out of the question.
If you merely need to run an executable periodically (IOW at a 
predetermined time/interval) then why not stay in the Cygwin environment 
and use cron(1). Just set up cron and then add a cron job to execute you 
script.
-- 
Andrew DeFaria <http://defaria.com>
Old dog still learning - please don't shoot yet


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

