Autostart Cygwin on Windows boot and run a cygwin command

2011-03-14 Thread PeterSmith
Sometimes my Windows server reboots at night to install new updates. Then the next day I find out that my cygwin instance has been stopped. What I want is on Windows start, also run Cygwin AND run a specific command. so, step 1: Right now I have a cygwin.bat to start cygwin: @echo off C: chdir

Re: Autostart Cygwin on Windows boot and run a cygwin command

2011-03-14 Thread PeterSmith
010-10-12_08-05-48/example/: No such file or directory Unable to access jarfile start.jar C:\cygwin\bin> Hopefully my problem is more clear now and you can further assist me :) Jeremy Bopp-3 wrote: > > On 3/14/2011 09:07, PeterSmith wrote: >> >> Sometimes my Windows

Re: Autostart Cygwin on Windows boot and run a cygwin command

2011-03-14 Thread PeterSmith
Jeremy Bopp-3 wrote: > > On 3/14/2011 13:25, PeterSmith wrote: > > FYI, this list prefers bottom posting rather than top posting. > Reformatting... :-) > >> Jeremy Bopp-3 wrote: >>> bash -c "cd >>> /cygdrive/e/solr/apache-solr-4.0-2010-10

Re: Autostart Cygwin on Windows boot and run a cygwin command

2011-03-14 Thread PeterSmith
Jeremy Bopp-3 wrote: > > On 3/14/2011 14:21, PeterSmith wrote: >> Ok, so for now lets focus on the contents of the .bat file. I'll have a >> look >> at the startup of the bat later :) > > Excellent idea, especially considering that it's not really a Cyg