Running a timer job on demand
Sometimes it is necessary to run a timer job immediately. The reasons for this are varied. It may need to be done due to the fact the job failed previously. The administrator may need to do it based on a business process dependency.
This recipe shows how to run a timer job immediately.
Getting ready
You must have farm-level administrative permissions to the Central Administration site.
How to do it...
1. Open the SharePoint 2010 Central Administration website.
2. Click Monitoring. Under the second section named Timer Jobs, click Check Job Status.
3. There are three sections: Scheduled, Running, and History. Click on the time job you wish to run.
4. We have chosen the Immediate Alerts option and here is the resulting form:
5. Click on the Run Now button.
How it works...
The Windows SharePoint Services Timer (SPTimerV4) service is used to run SharePoint 2010 tasks. If this is not running, none of the timer jobs will run.
The timer job executes under OWSTIMER.exe, which is...