Azure Webjob timer trigger does not fire

前端 未结 3 572
隐瞒了意图╮
隐瞒了意图╮ 2020-12-06 15:21

We have two deployments (Prod and Test) of Azure Webjob running with TimerTrigger. Both the web apps have single instance. According to this article, TimeTriggers use single

3条回答
  •  清歌不尽
    2020-12-06 16:09

    Use different storage accounts or set host

    var config = new JobHostConfiguration();
    config.HostId = "dev|prod"
    var host = new JobHost(config);
    host.RunAndBlock();
    

提交回复
热议问题