WOT: Scripting Question[Scanned]

Les Mikesell lesmikesell at gmail.com
Fri Jul 28 19:41:18 UTC 2006


On Fri, 2006-07-28 at 18:54 +0100, Chris Bradford wrote:
> >
> > Use the Windows task manager to schedule the job. Look in the Control 
> > Panel
> Yeah ok!
> 
> Task scheduler no problems figuring that out, I've been using windows 
> for more then 5 minutes! :p
> 
> However, how can I call a cygwin command line and then execute the 
> script? If I use the cygwin.bat (from the cygwin root) file and add the 
> contents of the script to the file it doesn't execute the commands, it 
> only loads the cygwin command line.

You don't want to execute 'bash --login -i' to get an interactive
shell.  Change that to
bash /cygdrive/driveletter/path/to/script

-- 
  Les Mikesell
   lesmikesell at gmail.com





More information about the users mailing list