c# - Command Line Arguments to Azure Webjobs -
i'm in process of migrating couple of jobs scheduled , run through quartz.net azure webjobs.
using quartz.net allowed me have (very compact) job classes in same project console program entry point initializing scheduler.
now retain structure without having create discrete console application project each , every web job.
is there way configure command line argument continuous web-job allow branch internally correct job depending on command line argument?
in azure webjobs 1 way create script file each webjob command line arguments: myapplication.exe arg1 arg2
.
another select method run current webjob name can environment variable webjobs_name.
for triggered webjobs there support command line arguments (per run) in api still unsupported azure portal: https://github.com/projectkudu/kudu/wiki/webjobs-api#invoke-a-triggered-job.
Comments
Post a Comment