Below is our server topology
3 WFEs 2 App Servers 1 DB server
Now, I would like to write a custom timer job that should run only on the specific application server("APP1").
SPJobdefinition does not allow me to do this as there is no lock type for server.
Shall I use the SPServerJobDefinition class to do this? If so, any sample code would help.