Load balanced scheduled jobs

 

Hi,

I know that in a load balanced environment you can set certain servers not to run any scheduled jobs but is it possible to restrict individual jobs on a specific server? i.e. I may want some scheduled jobs to run on a server but not all of them. I suspect this is not possible but wanted to check.

Thanks in advance,

Mark

#192400 May 16, 2018 12:21
  • Johan Björnfot
    Member since: 2004
     

    Hi

    No that is nothing that is officially supported. It could however probably be done by intercepting IScheduledJobRepository and in the interceptor have some custom logic that filters the List method depending on which server that is executing. 

    #192457 May 17, 2018 9:07