Bijesh
Bijesh

Reputation: 53

Azure WebJob Multiple executables

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

Upvotes: 2

Views: 1165

Answers (1)

David Ebbo
David Ebbo

Reputation: 43193

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.

Upvotes: 4

Related Questions