This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: start cygwin script from windows


Christian Buhtz wrote:
> I have a script running on cygwin.
> 
> I want to start it (with taksplaner) from windows but cygwin is not
> running.
> 
> How can I tell window to start the script but need to run cygwin first?

Two options:

* Use Cygwin's cron: There's good, brief instructions on [Stack Overflow][0].

* Specify the program that runs the script to Task Scheduler.  For a bash script, for example, the command you'd want to give Task Scheduler would be something along the lines of:

       C:\cygwin\bin\bash.exe -c "/path/to/script.sh"

[0]: http://stackoverflow.com/a/707220

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]