A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More

Enable scheduled jobs on one server only in load balanced environment

Vote:
 

Hi, we have a load balanced environment (EPiServer 7) and I'm not sure how to get the scheduled jobs to run on one server only. I've updated siteSettings with the enableScheduler="false" attribute on the server where I don't want the job to run, but it doesn't work. Is there anything else I need to do?

Thanks,

Annelie

#79427
Dec 17, 2013 10:54
Vote:
 

It should be enough with the eableScheduler=false.  How does it show that it doesn't work?

 

 

#79433
Dec 17, 2013 11:41
Vote:
 

We're downloading files, and they are downloaded to the server where it's set to false. Perhaps that's unrelated then - I thought they'd be downloaded to the server where the job ran.

#79434
Dec 17, 2013 11:45
Vote:
 

I was sure I hade used this in an EPiServer 7 site but I couldn't have because it seems that it doesn't work to set the enableScheduler="false" on the sitesettings.

#79435
Dec 17, 2013 12:08
Vote:
 

Its important that you enter "False" with capital F. Then it works.

#79438
Dec 17, 2013 13:24
Vote:
 
#79439
Dec 17, 2013 13:24
Vote:
 

That was it, thank you so much!

#79451
Dec 17, 2013 15:54
This thread is locked and should be used for reference only. Please use the Episerver CMS 7 and earlier versions forum to open new discussions.
* 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.