Question

We have code similar to what is described in this blog post to set binding redirects in owstimer.exe.config using the FeatureInstalled event; the post specifically states that this event should run on each WFE, but testing shows that it is running on one, arbitrary WFE (when the feature is deployed using stsadm or Central Admin).

I am wondering if there is perhaps some setting that can be changed to cause the event to run on every WFE, or if that blog post is just plain wrong (and if the latter, if anyone has a suggestion on a better way than manually editing the config on each WFE).

Was it helpful?

Solution

This isn't my forte but I ran across the note below on this MSDN posting; perhaps that will help.

If you wanted a job to run on all servers, including application servers, your class should derive from SPServiceJobDefinition. Pass the timer service (SPFarm.Local.TimerService) as the SPService parameter of the SPServiceJobDefinition(String, SPService) constructor.

Licensed under: CC-BY-SA with attribution
Not affiliated with sharepoint.stackexchange
scroll top