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 tested these and did not work. c:\Windows\System32\bash.exe -l [program_name args]
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
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.