X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-0.2 required=5.0 tests=AWL,BAYES_00,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org From: Adam Dinwoodie To: "cygwin AT cygwin DOT com" Subject: RE: start cygwin script from windows Date: Mon, 12 Mar 2012 15:21:11 +0000 Deferred-Delivery: Mon, 12 Mar 2012 15:21:00 +0000 Message-ID: References: In-Reply-To: Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id q2CFNgjU008967 Christian Buhtz wrote: > I have a script running on cygwin. > > I want to start it (with taksplaner) from windows but cygwin is not > running. > > How can I tell window to start the script but need to run cygwin first? Two options: * Use Cygwin's cron: There's good, brief instructions on [Stack Overflow][0]. * Specify the program that runs the script to Task Scheduler. For a bash script, for example, the command you'd want to give Task Scheduler would be something along the lines of: C:\cygwin\bin\bash.exe -c "/path/to/script.sh" [0]: http://stackoverflow.com/a/707220 -- 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