delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=-1.8 required=5.0 tests=AWL,BAYES_00 |
X-Spam-Check-By: | sourceware.org |
X-Cloudmark-SP-Filtered: | true |
X-Cloudmark-SP-Result: | v=1.0 c=1 a=qXHbJdOSgogA:10 a=kCKDY91tEBMc+hi4YtGk8Q==:17 a=UiJEuzQqGGTIG3pebZMA:9 a=s3o2Ja0q5MFdvNRHnve2YVhIed8A:4 |
Message-ID: | <4B495ED8.3020103@monai.ca> |
Date: | Sat, 09 Jan 2010 21:00:08 -0800 |
From: | Steven Monai <steve+cygwin AT monai DOT ca> |
User-Agent: | Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.5) Gecko/20091204 Thunderbird/3.0 |
MIME-Version: | 1.0 |
To: | cygwin AT cygwin DOT com |
Subject: | Re: question with cygwin.bat and Windows Scheduler |
References: | <27094829 DOT post AT talk DOT nabble DOT com> <4B494098 DOT 4040706 AT monai DOT ca> <27095212 DOT post AT talk DOT nabble DOT com> <4B495A98 DOT 7040003 AT monai DOT ca> |
In-Reply-To: | <4B495A98.7040003@monai.ca> |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
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 |
On 2010/01/09 8:42 PM, Steven Monai wrote: > On 2010/01/09 7:02 PM, aviate wrote: >> I was avoiding cron...but it might be most useful here. Is there any >> way to >> hide the window popping up by Windows Scheduler?? > > Yes there is. Duh, just replying to myself to let you know that there's an even simpler way to get the effect you wanted, and you don't even need 'run.exe'. You can directly schedule 'bash.exe' to run in the Task Scheduler. The command line to schedule for execution is as follows: C:\cygwin\bin\bash.exe --login -c "/myfolder/myscript.sh" -SM -- -- 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |