Monday, August 16, 2010

Execute SharePoint Timer Job using STSADM

Executing SharePoint schdeuled timer jobs is pretty simple.

If you have a scenario where you need all scheduled jobs to be run immediately you can use STSADM.EXE utility to achieve this by using the following command:

STSADM -O -EXECADMSVCJOBS

If you want to run a specific timer job you can use the following command:

STSADM -O RUNTIMERJOB -NAME (NAME OF TIMER JOB) -URL (SITE COLLECTION URL)

If you require any other information on STSADM commands you can check this link for a full list of available commands for STSADM command line utility.

1 comment:

  1. STSADM -O RUNTIMERJOB -NAME (NAME OF TIMER JOB) -URL (SITE COLLECTION URL)

    is not an OOB command, it requires additional functionality installed on SP2007

    ReplyDelete