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.
You need to set the
SPJobDefinition.LockType property on your job definition to
Here are the possible
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.