![]() |
| |||
| When we want to run a task (like sending emails or deleting the list items etc. . . ) in Daily basis or in Hourly basis then we can use a Timer job to this task .To see the timer job you can move to the Central Administrations then click on the operations tab, then in the Global Configuration section you can see the Timer job status and timer job definition. In timer job definition you can get the details of the timer job i.e. the title , the web application to which it is attached and the schedule type i.e. Daily, Weekly or hourly basis. To get the status of the timer job go to the timer job status, here you can view status. Steps To create a custom timer job: 1. We need to create a class that inherits the SPJobDefinition Class. Then we need add the constructor s and the Execute () method. namespace TestTimerJob { public class CustomTimerJob : SPJobDefinition{ public CustomTimerJob (): base(){ } Hope you find this tips useful and of assistance. Thanks, Bijayani |
| Sponsored links |
| |
![]() |
| Tags |
| sharepoint, wss |
| Thread Tools | |
| Display Modes | |
|
|