The SharePoint Timer service is similar to tasks that we can create in any version of Windows by using the Task Scheduler application. The major benefits of using the SharePoint Timer service compared with Windows Task Scheduler jobs is that the timer service knows the topology of the server farm, and you can load balance the jobs across all the servers in the farm or tie them to specific servers that run particular services.
Some changes have been made in Windows SharePoint Services 3.0 to use these services in easier way. First, farm administrators can now see all the registered and timer jobs in a server farm in Central Administration. To do this, on the Operations page, under the Global Configuration section, select Timer Jobs Definitions. In addition to the registered jobs, the Timer Job Status page contains a list of all the jobs and the status and outcome of the last execution of each job.
For creating timer jobs by we create a it by using a single class that inherits from the Microsoft.SharePoint.Administration.SPJobDefinition class. We must deploy the assembly that contains this class to the global assembly cache (GAC). Then we must deploy, or install, the timer job into the server farm.
No comments:
Post a Comment