This project is read-only.

Job Manager

Use this component to run sharepoint jobs from central administration or change a job schedule.
For instance:
  • You can run a full profile synchronization without needing stsadm
  • Jobs installed with a feature receiver can be changed, without having to change and re-deploy
  • When developing new jobs, you can run them on demand, rather than using a minute schedule (which may not be ideal)


Run the commands to install and deploy as needed. Or use central admin to deploy. The final command will generate correct navigation after the solution has been deployed.

cd "C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\BIN\"
stsadm.exe -o addsolution -filename components2.jobmanager.wsp
stsadm.exe -o deploysolution -name components2.jobmanager.wsp -local -allowgacdeployment
stsadm.exe -o copyappbincontent


This component can be found in the operations section of central administration


The job list screen is that same as the normal job definition list screen


From the main screen you can perform these actions:

1. Change a job's schedule
2. Execute a job
3. Clone a job for one time execution
4. Clone a job for normal execution

If the job has a schedule, you can change all the properties based on the type.
Click OK to save the new schedule.

If you wish to call the execute method on the job, select a content database from the dropdown
Then click Execute.
This calls the Execute method on the SPJobDefinition
This does not update the last run date of the job.

The last two buttons, clone schedule and clone one-time, copy the job into a new definition, with the same details
The reason i chose to implement a job clone, was because i didnt want to change the original job.
Normally one time jobs can not be changed to scheduled and visa versa. This is a sharepoint limitation.
Cloning will show the job in the standard job definition lists, with (clone) in the title
These can be deleted from the main screen.
Cloned One-time schedule jobs will be run ASAP.


Future Developments

None identified

Last edited Mar 22, 2009 at 3:01 AM by djeeg, version 8


No comments yet.