SaaS CMS has officially launched! Learn more now.

Load balanced scheduled jobs

Vote:
 

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
Vote:
 

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
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.