Can you pass parameters into a scheduled Azure Webjob

383 Views Asked by At

I have a console app which runs daily on an azure webjob. I am trying pass in parameters into the scheduled web job without redeploying.

I have seen that you could add params onto the webhook Url however since Azure Scheduler depercated you can't seem to edit the Webhooks to add on the ?arguments={your arguments}.
I have also tried using environment variables but the console app can not access them.

If any of this helps. I publish the console app through visual studio.
The webjob type is triggered.
I use a settings.job file to set the cron

{
  "schedule": "0 0 5 * * *",
}
0

There are 0 best solutions below