locked
How to disable the custom timer job RRS feed

  • Question

  • Hi,
    Please suggest the command used for disabling or deleting the custom timer job from Central Admin.

    I beieve that the custom timer job can be disabled through UI by navigating to
    Central Admin ---> Operations ---> Timer Job Definitions ---> (Select the custom timer Job) ---> Click the Disable button.

    But since I am unable to do the same through UI, please suggest me how to disable this timerjob (for eg dailytimerjob) through Command Prompt.

    Thanks.

    Thursday, October 1, 2009 12:57 PM

Answers

  • To delete a Custom Timer JOB definition in sharepoint

    If you would like to delete Sharepoint Timer Job Definitions follow these steps

    - In Central Administration Home Page click Operations tab

    - Then click Timer Job Definitions link

    - In this page go to the job whick you want to delete

    - While pointing your mouse over this job note down the GUID shown in status bar

    - Then go stsadm and run this command

    stsadm.exe -o deleteconfigurationobject -id

    Let me know if its helpful to you.

    • Marked as answer by shameej Friday, October 30, 2009 9:42 AM
    Thursday, October 22, 2009 5:07 AM

All replies

  • I would run this command to get the Title:  stsadm -o enumssptimerjobs -title

    Then I would run this command to delete the timerjob:  stsadm -o deletessptimerjob -title -jobid

    That should solve your issue

    Thanks
    • Proposed as answer by DavidLewis27 Thursday, October 1, 2009 3:27 PM
    • Unproposed as answer by Mike Walsh FIN Thursday, August 25, 2011 6:35 AM
    Thursday, October 1, 2009 1:40 PM
  • stsadm -o deletessptimerjob -title -jobid

    In the above, what will be the jobid? Can you help me to find it.
    Thursday, October 1, 2009 1:49 PM
  • You may get the Timer Job Id by the following STSADM command

     stsadm -o enumssptimerjobs -title

    The above command will list the ID.
    Use the following command to delete the timer job.

    stsadm -o deletesptimerjob -title -jobid

    Hope it will help.




    Brijesh Singh | MCTS(Sharepoint), MCP, MCA
    • Proposed as answer by Brijesh.Singh Thursday, October 1, 2009 2:48 PM
    • Edited by Brijesh.Singh Thursday, October 1, 2009 3:06 PM typo
    • Unproposed as answer by Mike Walsh FIN Thursday, August 25, 2011 6:35 AM
    Thursday, October 1, 2009 2:48 PM
  • stsadm -o enumssptimerjobs

    The above command is Invalid it says. Any help?
    Thursday, October 1, 2009 2:54 PM
  • run                    stsadm -o enumssptimerjobs -title sspname   that will give you the ID of the Job as well as the title then finish with the second command I gave you
    Thursday, October 1, 2009 3:01 PM
  • I executed the below command, but I am not getting my timer job name or Id, I am getting another list of timerjobs. How can I get the Sspname of my timerjob? Please guide me.

    stsadm -o enumssptimerjobs -title sharedservices1
    Friday, October 2, 2009 4:44 AM
  • There are two ways to handle this 

    1. Check the web application from which the timer job is created from and SSP against it would be the SSP for the timer job (Not too sure)
    2. Otherwise run the command for every SSP, mostly there are 2-4 SSP defined in general. Check against each of the them.
    the result set contains the Display Name of the timer job, identify and locate the timer job.

    Hope it helps 

     

    Brijesh Singh | MCTS(Sharepoint), MCP, MCA
    Friday, October 2, 2009 8:12 AM
  • Did you create the custom timer job through code???? How did this custom timer job get created?? 
    Friday, October 2, 2009 8:57 PM
  • Yes I created the timer job through code.
    Custom timer job was created through a wsp by installing the same in the server.

    Monday, October 12, 2009 11:27 AM
  • To delete a Custom Timer JOB definition in sharepoint

    If you would like to delete Sharepoint Timer Job Definitions follow these steps

    - In Central Administration Home Page click Operations tab

    - Then click Timer Job Definitions link

    - In this page go to the job whick you want to delete

    - While pointing your mouse over this job note down the GUID shown in status bar

    - Then go stsadm and run this command

    stsadm.exe -o deleteconfigurationobject -id

    Let me know if its helpful to you.

    • Marked as answer by shameej Friday, October 30, 2009 9:42 AM
    Thursday, October 22, 2009 5:07 AM
  • Cool. I was able to delete it. Thanks Amanlcmg.

    I used the below command to delete my custom timer job.

    stsadm -o deleteconfigurationobject -id

    Friday, October 30, 2009 7:17 AM