How to run program on ( ubuntu bash windows 10 ) from windows task scheduler

前端 未结 1 2009
-上瘾入骨i
-上瘾入骨i 2021-02-10 16:45

I need to execute task every 5 minute in ubuntu bash and I like to use windows task scheduler. I don\'t know how to write a .bat file to start application in ubuntu bash. I test

相关标签:
1条回答
  • 2021-02-10 17:42

    can run command on ubuntu bash with add -c flag in args

    c:\Windows\System32\bash.exe -c <command>
    

    and write it in .bat file and then add to windows task scheduler.

    0 讨论(0)
提交回复
热议问题