Execute bash scripts on cygwin directly via Windows interface

Soumis par -badmin- le jeu 21/04/2016 - 14:53

After reading the excellent article about cygwin bash scripts under Windows by duncansmart, I wanted to adapt this script so it could handle scheduled tasks as system without having a windows user account involved (launching bash without --login option).

So, in order to execute a bash script called in /cygdrive/c/home/, here is the counterpart that will execute the script directly from Windows, called c:\cygwin\home\something.cmd: