| delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
| Sender: | cygwin-owner AT cygwin DOT com |
| Delivered-To: | mailing list cygwin AT cygwin DOT com |
| X-WM-Posted-At: | MailAndNews.com; Fri, 28 Dec 01 14:46:18 -0500 |
| X-WebMail-UserID: | sdgoldst |
| Date: | Fri, 28 Dec 2001 14:46:18 -0500 |
| From: | Scott Goldstein <sdgoldst AT MailAndNews DOT com> |
| To: | "Kredba" <kredba AT mbox DOT dkm DOT cz> |
| Cc: | cygwin AT cygwin DOT com |
| X-EXP32-SerialNo: | 50000000 |
| Subject: | RE: Starting program under bash as Scheduled Task |
| Message-ID: | <3C2D1B87@MailAndNews.com> |
| Mime-Version: | 1.0 |
| X-Mailer: | InterChange (Hydra) SMTP v3.62 |
Won't this just run bash at 12:15? What I want to do is run a script, "MyScript", within a bash environment at 12:15. So, I want to emulate the following: 1. Start bash. .bashrc is executed and shell opens with a prompt. 2. At the prompt, run MyScript Can this be done? Thanks. Scott >===== Original Message From "Kredba" <kredba AT mbox DOT dkm DOT cz> ===== >Be sure, that the task manager service is running. > >Open cmd.exe and type there command similar to this : > >at 12:15 cmd /c "c:\bla\bla\sh.bat" > >In the batch file you can call bash --rcfile . ------------------------------------------------------------ "Just a mirror for the sun... My smiling eyes are just a mirror for the sun." ------------------------------------------------------------ -- 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/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |