SharePoint 2010 Timer Job Item
The SharePoint 2010 Timer Job Item supports the creation of administrative timer jobs in SharePoint 2010. The item appears in the Add Item dialog when creating SharePoint 2010 solutions in Visual Studio 2010. The item supports the following capabilities:
A worker class is created to encapsulate the timer job. This class is created with a simple "Hello, World!" timer job that writes to the ULS logs.
A management page is created that appears in Central Administration for scheduling the job. A link to the management page is added to the Monitoring page of Central Administration. This page can be extended to allow for the managment of additional data such as connection string values required by the job.
A custom logging class is provided that allows for logging information and errors to the ULS logs. This class can be extended to include additional logging categories.
A custom data class is provided for persisting configuration values (e.g, connection strings) required by the timer job. This class can be extended to include any configuration values required by the job.
A walkthrough can be found here http://www.shillier.com/archive/2011/04/13/sharepoint-2010-timer-job-item.aspx