How do I deploy a SharePoint custom timer job?

1.6k Views Asked by At

This is what I have done so far:

  • Created a class that has my overridden Execute function
  • Added the needed strongly named assemblies to the GAC
  • Created a Feature.xml file (see it below, this could be the problem...)
  • Created a folder for my Feature.xml file in Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\TEMPLATE
  • Used stsadm to installfeature. It says the operation was completed sucessfully.

I then check into Manage Farm Features in SharePoint but I don't see it there...

Here is my Feature.xml file:

<?xml version="1.0" encoding="utf-8"?>
<Feature xmlns="http://schemas.microsoft.com/sharepoint/" 
   Id="b9e40341-32ab-410a-a20f-282cf13fb54b" 
   ReceiverAssembly="SharePointSocialNetworking, Version=1.0.0.0, Culture=neutral,   PublicKeyToken=6264b0911592ad29" 
   ReceiverClass="SharePointSocialNetworking.FeatureToEnableJob" 
   Scope="Site" 
   Title="SharePoint Social Networking Job">
 </Feature>

Does this look right? Am I missing any steps here?

1

There are 1 best solutions below

3
On BEST ANSWER

Your scope is wrong. It should be "Farm" not "Site."