Trey Nolen wrote:

But can you do that if you are not running it from the Cygwin prompt?   I
didn't do that because we were starting it with the scheduler. Will that
still work?

Yes. Write a small 'myjob.bat' file with something like this in it:
--------
@echo off
C:
chdir C:\cygwin\bin
bash --login -i -c "~/myscript.sh"
--------

Use scheduler to run 'myjob.bat'. It will execute 'myscript.sh' under bash and from there you can do anything bash can do.

Michael

--
To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Reply via email to