TimerJob only run in one machine

Jun 22, 2012 at 5:05 PM

Hi,

It is possible to set the timer job to run on all machines on the farm?

Im testing but the warmup timer job only run in one machine on the farm.

 

Thanks

TP

Jun 24, 2012 at 10:34 PM

Hello,

I am agree: how the solution deals with multi web front end servers ?

Regards,

Pierre

Aug 3, 2012 at 2:44 PM

I second that. Having it touch all servers in the farm would be a major improvement!

Regards, Bjarne

May 16, 2014 at 6:33 PM
TPimpao wrote:
Hi, It is possible to set the timer job to run on all machines on the farm? Im testing but the warmup timer job only run in one machine on the farm.   Thanks TP
SPJobLockType.None is used in the code - the parameter None at the end means that Jobs which have a lock of type None run once on each server in the farm. I just tested on a new farm with multiple web front ends and the job is loaded and run on every server. You can test to see if the job is installed by running the powershell command on each web front end server to see if the job is listed - "SharePoint warmup job"

Get-SPTimerJob | ? {$_.LockType -eq "Job"}