Description
This feature offers SharePoint administrators a user interface to schedule and reschedule custom SharePoint timer jobs.
To use the feature, open the SharePoint 3.0 Central Administration and go to the Operations page. At the bottom
you will find an hyperlink Configure job definitions under the group U2U Administration Extensions.
This brings you to an application page where you can schedule and reschedule SharePoint timer jobs.
In the first section you can choose the web application for which you want to configure a timer job. The dropdown list
in the Job Definitions section is populated with the job definitions running on the selected web application.
The third section is an idea I got from Andrews article. In general jobs run for a complete web application. But this
feature makes use of the SharePoint object property bag so that you can configure a custom timer job to run for one or
more site collections of the selected web application.
If you schedule a job for a specific site collection, you have to add some extra code within your custom timer job,
otherwise it will continue running for the whole application:
Before you can use the U2U.SharePoint.Administration.JobConfigurationSettings class, you have to add a reference to
the U2U.SharePoint.JobDefinitionConfigurator.dll, which is deployed in the 12\TEMPLATE\ADMIN\U2U.SharePoint.JobDefinitionConfigurator\bin
folder:
Remark: This means that the option of running a job for a specific site collection doesn't apply to standard SharePoint jobs!!
In the 4th section you can choose a schedule. If the selected job is already scheduled, the next occurrence date and the
current schedule is displayed:
You can also enable/disable a timer job.
If you want to learn more about developing custom timer jobs:
|