Azure WebJob Multiple executables

江枫思渺然 提交于 2020-01-05 10:09:00

问题


I am creating a WebJob (console executable). This .exe invokes one of the configured plug-ins which are in the form of executable again. So, when I deploy a WebJob, it contains 3 or more executable. Is there a way to execute only one .exe as a WebJob and block the execution of other .exe ? Thanks in advance


回答1:


The best thing to do here is to also include a run.cmd file at the root of your WebJobs files, and have it just be a one-liner that runs whichever exe you want. Once you do that, only this batch file will be executed, giving you precise control over exactly what you want to run.

You'll find more details here.



来源:https://stackoverflow.com/questions/32821347/azure-webjob-multiple-executables

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!