Simple Step By Step procedure for creating custom timer job in SharePoint. Its summary quick steps for anyone who has already created custom timer job.
Open Visual Studio 2010 -> Create New Empty SharePoint Project - >
Right Click solution -> Add New Item -> Add Class -> It should inherit from SPJobDefinition class
Right clikc on features -> Add feature -> Add Event Receiver -> Go to FeatureActivated method -> Invoke Timer Job
Go to FeatureDeActivated method -> Delete Timer Job
Save the solution -> Click on Deploy
Go to Monitoring -> Job Definitions -> You can find your timer job
No comments:
Post a Comment