1

I need to make a scheduled task to run a bash script on Windows 10 new release. The script works fine from bash, works fine from cmd or PowerShell, but if I run it from Task Scheduler it comes up blank. I've tried with task parameters like "start a program " with arguments "bash ", and with bat file to start the script. No luck.

Thank you very much for your help!

0

In the arguments, use *nix path such as the one below:

/mnt/c/Test/myscript.sh

.. where Windows equivalent path is C:\Test\myscript.sh

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.