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!
1 Answer
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