locked
2010 Custom Timer Job not running RRS feed

  • Question

  • I have created a custom timer job which runs on a daily schedule in a Single server Environment.

    It worked fine for some days and it suddenly stopped running from past 1 week.

    I have restarted SPtimerv4 and administration services. But no use. (Account running these services has full admin rights on the site and Content DB)

    I could see that job is getting scheduled correctly in the View Job definitions. But it never runs and last run time always shows as NA.

    No error gets logged into the 14/logs regarding failures. I tried to debug the code by attaching OWSTIMER but it never comes to execute method

    Please provide me your inputs.

     

    Friday, October 7, 2011 7:47 AM

Answers

  • Hi,

     

    You can try to run timer job using powershell script:

     

    Start-SPAdminJob [-AssignmentCollection <SPAssignmentCollection>] [-Confirm [<SwitchParameter>]] [-WhatIf [<SwitchParameter>]]

     

    You can refer to:

     

    http://technet.microsoft.com/en-us/library/ff607833.aspx

     

    And please post SharePoint 2010 question in SharePoint 2010 forum, which could help you get answer more easier.

     

    Thanks,

    Pengyu Zhao

    • Marked as answer by Wayne Fan Friday, October 14, 2011 2:07 AM
    Monday, October 10, 2011 10:56 AM