Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

My timer job runs every 15 minutes so on Staging server I have to wait 15 minutes while waiting for results after deploying it, is there any way I can simply execute it, I remember there was some STSADM command that executes some timer jobs but not sure if that is what am supposed to try.

STSADM command `

stsadm -o execadmsvcjobs`

I don't think if it will execute my custom timer job as well.

share|improve this question
add comment

1 Answer 1

up vote 1 down vote accepted

That command is correct, but you need to make sure you run it on all servers.

"When the process account for the Windows SharePoint Services Timer service (SPAdmin) is disabled (necessary in some installations for security reasons), the execadmsvcjobs operation must be run on all computers to perform provisioning and other administrative tasks that would ordinarily happen by using the Windows SharePoint Services Timer service (SPTimer)."

Ref: http://technet.microsoft.com/en-us/library/cc262783(office.12).aspx

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.