locked
Create missing timer jobs manually RRS feed

  • Question

  • I created a web application and web a look at the Job Definitions in central admin

    Title        Web Application  Schedule Type
    Document ID assignment job      TestPublic2 - 43192   Daily 
    Document ID enable/disable job     TestPublic2 - 43192   Daily 
    Document Set fields synchronization job    TestPublic2 - 43192  Minutes 
    Immediate Alerts       TestPublic2 - 43192  Minutes 
    Office Web Apps Cache Site Collection Expiration   TestPublic2 - 43192  Daily

    I know I can create a new web application and move the content DB to the new web app.
    What I would like to know is there a way using powershell or stsadm to create the rest of the jobs manually?
    I know the Immediate Alerts can be created manually. I wonder about the rest.
    Thanks.


    Banners

    Friday, June 22, 2012 6:30 PM

Answers

  • If its a freshly created Web App its best way to delete the web app and recreate a new one.

    Aniket


    Monday, June 25, 2012 4:49 AM

All replies

  • Hi,

    As far as I know there isn't a way stsadm or powershell to re create missing timer jobs.

    Rather then moving a content Db to new we app you can try to initiate missing timer jobs on the same web app by deleting the web application without content DB and IIS site.

    Please try and let us know the results, thanks.


    Warm Regards, Pratik Vyas | SharePoint Consultant | http://sharepointpratik.blogspot.com/ | Posting is provided "AS IS" with no warranties, and confers no rights

    Friday, June 22, 2012 9:52 PM
  • You can create timer jobs programatically, though I'm not sure off hand if you can do this in PowerShell (in theory it's possible, I'm just not aware of a PowerShell cmdlet that may help you achieve this goal). You can use PowerShell to retrieve the job definitions which would help you in rebuilding them.

    How did those jobs get created in the first place? Do they already exist in your new web application?


    Jason Warren
    Infrastructure Specialist

    Friday, June 22, 2012 9:57 PM
  • Jason,

    They we created when I created the web application. While creating the web application the IIS timed out which caused the rest of the timer jobs not be provisioned. It was definely weird. I haven't seen sharepoint every do that.

     


    Banners

    Sunday, June 24, 2012 7:45 PM
  • If its a freshly created Web App its best way to delete the web app and recreate a new one.

    Aniket


    Monday, June 25, 2012 4:49 AM