Dan Faber
Dan Faber

Reputation: 23

Azure Web Job Run Command Incorrectly Set

I have an azure website running as an App Service which I publish to Azure from Visual Studio. I have multiple webjobs which are all linked to the main web project.

When I add a new webjob it fails because the wrong RUN COMMAND is attached to it. For instance, the webjob QuarterHrsWebJob fails because it has somehow been set up with a Run command of "doctap.exe". doctap.exe is the exe belonging to a different webjob (called doctap) - but somehow it has been assigned to QuarterHrsWebJob as well.

See screenshot showing "Run command: doctap.exe" for the QueryHrsWebJob.

Many thanks for your help.

run command shows as doctap.exe instead of QuarterHrsWebJob

list of all web jobs

Upvotes: 0

Views: 512

Answers (1)

Phil Henning
Phil Henning

Reputation: 46

Do you have a project reference to the project containing doctab.exe from the QueryHrsWebJob? I was able to reproduce the problem you are seeing by creating a similar reference between two Web Jobs.

If you do not have a reference like this, could you please share the project file for both affected Web Jobs and your webjob-publish-settings.json files?

Upvotes: 3

Related Questions