X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-2.6 required=5.0 tests=BAYES_00,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org Message-ID: <27094829.post@talk.nabble.com> Date: Sat, 9 Jan 2010 17:36:03 -0800 (PST) From: aviate To: cygwin AT cygwin DOT com Subject: question with cygwin.bat and Windows Scheduler MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 Hi...tried for a long, long time trying to make this work to no avail...and did not find help online. Using Windows XP, I am running a bash script via the windows task scheduler, which is calling Cygwin.bat ...The command being tasked is: C:\cygwin\Cygwin.bat /myfolder/myscript.sh The tasking works fine, and my sript runs great, however since the task is to run every 10 minutes, I am trying to have it so the DOS/Cygwin window does not pop up every time the scripts executes (it runs completely "silent" or at worst, is the window is minimized). I have attempted the "run a shortcut to the batch file" method, but scheduler will not execute the tasks properly for the .lnk I have been working on this for a long time...any help would be appreciated. BTW, I can succesfully get the window to minimize, but can't get it to close automatically. I have tried everything from modifying the batch file with exit commands, to using cmd /C start /min with an @Exit, but nothing will get the minimized window to close. Thank you, Mike -- View this message in context: http://old.nabble.com/question-with-cygwin.bat-and-Windows-Scheduler-tp27094829p27094829.html Sent from the Cygwin list mailing list archive at Nabble.com. -- 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