Thursday, 3 May 2012

SharePoint 2007: How to execute immediatly a custom Timer Job?

One of the most frustrating things in Sharepoint for developers or even administrators, is implementing a new change and then have to wait for the next time in the schedule for the Timer Job to run.

For those who stumble upon this typical MOSS 2007 problem, and wish a particular timer job to execute immediatly:  I created a script that helps me out with it.
Arguments: URL TimerJobname(internal name not the name you see in the CA) ContentDBGuid

Source code:
Program.cs.txt (1.15 KB)

Enjoy!

No comments: