0

I want to run my custom timer job on all SharePoint servers in SharePoint 2007 farm. How I can do this? right now this job is running on only one server.

0

You need to set the SPJobDefinition.LockType property on your job definition to None.

Here are the possible SPJobLockType values.

Behavior that I have seen is, if you set it to Job, it will run only once, on one server. If you set it to ContentDatabase, it will run on only one server, but it will repeat consecutively for as many times as you have content databses. If you set it to None, it should run on all servers.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.