I am trying to develop a custom timer job that is scoped at farm level rather than a web application level. Can someone provide me with some sample code. Also when I look at the constructor of SPJobDefinition I see the following constructor with the following parameters.
protected SPJobDefinition(string name, SPService service, SPServer server, SPJobLockType lockType);
I assume this is what I have to use to create a farm level job definition. What is the SPService used for?