Hey...
So I'm developing a custom timer job for sharepoint using the SPJobDefinition.
This job is activated through a feature receiver.
As I understand it the SPJobDefinition runs on the web-application.
if the feature scope is site or web based, is there any way code-wise to determine which site the feature is activated through in the Customer Job?
To get a clearer picture of what I'm trying to achieve, the job itself is a custom "Alert Me" notification job. What I'd like to do, is be able to determine which sites have activated this feature, so as to determine which sites to subscribe to the alerts notifications.
But I have no idea how to determine which sites have this feature activated.
Any help much appreciated.