Skip to content

Instantly share code, notes, and snippets.

@damc-dev
Last active January 31, 2024 15:44
Show Gist options
  • Star 44 You must be signed in to star a gist
  • Fork 8 You must be signed in to fork a gist
  • Save damc-dev/eb5e1aef001eef78c0f4 to your computer and use it in GitHub Desktop.
Save damc-dev/eb5e1aef001eef78c0f4 to your computer and use it in GitHub Desktop.
Execute Bash Script (Using Git Bash) from Windows Task Scheduler
cmd /c ""C:\Program Files (x86)\Git\bin\bash.exe" --login -i -- H:\Daily_Reports\yesterdayTogglReport.sh"
@eddyizm
Copy link

eddyizm commented Apr 7, 2023

@ryansherby I bypass the cmd and call it the .sh file directly instead.

@eolmsan
Copy link

eolmsan commented Aug 9, 2023

It worked I had a problem and in Start In I had to puth the path of the .sh file

@olga-ibragimova-mckinsey

Thank you a lot

@jturnercode
Copy link

thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment