Apr 08

Last week, we were testing some custom jobs in pre-prod with a job that runs every day at 3 AM.

As we don't want to wait for an entire day to test our code, we search a bit on google to find a "reschedule job" method.
Without any code, there is no way!

We found some stsadm extension but none that allows us to target our own job.
So we ended up to write my own stsadm command:

You can either process on a specific web application (-url) or on the entire farm (-allcontenturls). By default, it processes the entire farm.

Here is a re-schedule on the job "Schedule Managed Property":

On my dev machine, "SharePoint – 13489" is the SSP and the job does not exist on it.

 

The WSP package (with source code) can be downloaded here: JobSchedule.zip (10.78 kb)
Unzip, install the solution on your farm, start a command prompt and enjoy!

Tags:
Comments are closed