Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm 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 Message-ID: <00ad01c2d87f$f17d1d70$775f4e51@webdev> Reply-To: "Elfyn McBratney" From: "Elfyn McBratney" To: "cygwin" , "Kris Dahl" References: <06d601c2d87c$bdac5f90$021010ac AT tequila> <007901c2d87e$58903580$775f4e51 AT webdev> <06e801c2d87f$479b1ff0$021010ac AT tequila> Subject: Re: rsync problem... windows cmd vs. cygwin terminal Date: Thu, 20 Feb 2003 01:32:32 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 > > If it works perfectly from the cygwin terminal then why not use a shell > > script and execute that via the task scheduler? Once you have the commands > > in your shell script you can just use > > > > C:\Cygwin\bin\bash.exe -c /path/to/script.sh > > > > instead of > > > > C:\blah\path\batch.bat > > Cool... didn't know you could do that, very hip. > > I'd prefer to use the Windows Scheduled tasks because I'm not the only one > that administrates this machine, and that should totally let me do it. > > Yeah that totally works. Thanks. I forgot to add my "I'm working all night proggin" disclaimer so do check it works first ;-) Regards, Elfyn McBratney elfyn AT exposure DOT org DOT uk www.exposure.org.uk -- 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/