I developed a Custom Timer Job Feature using WSP Builder but for some reason I am not able to find it so that I can activate it.
I know I can activate it using stsadm but why cant I find it in Site Features or Site Collection Features even tho I tried to look into Central admin but couldn't find anything meaningful to solve this issue.
here's Feature.xml
<?xml version="1.0" encoding="utf-8"?>
<Feature Id="GUID"
Title="anotherTimerJob"
Description="Description for anotherTimerJob"
Version="1.0.0.0"
Hidden="FALSE"
Scope="WebApplication"
DefaultResourceFile="core"
ReceiverAssembly="anotherTimerJob, Version=1.0.0.0, Culture=neutral, PublicKeyToken=*************"
ReceiverClass="anotherTimerJob.anotherTimerJobReceiver"
xmlns="http://schemas.microsoft.com/sharepoint/">
</Feature>
Edited
If I try this STSADM it says
Object reference not set to an instance of an object.
stsadm -o activatefeature -id GUIDID -url https://abc303.development.com/portal
Edited 2
I was calling Wrong Constructor in class(extended to SPJobDefinition)
I was calling this Method in my receiver class
public anotherTimerJob()
: base()
{
}
when I was suppose to call this one
public anotherTimerJob(SPWebApplication webApp)
: base(TIMERJOB_NAME, webApp, null, SPJobLockType.ContentDatabase)
{
this.Title = TIMERJOB_NAME;
}
