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

I have a couple of timer jobs that I cant get rid of. I think they got created as a consequnce of creating a custom job.

Also, if I use powershell Get-SPTimerJob then I get an exception.

Get-SPTimerJob : Exception has been thrown by the target of an invocation.
At line:1 char:15
+ Get-SPTimerJob <<<<
    + CategoryInfo          : InvalidData: (Microsoft.Share...dletGetTimerJob:SPCmdletGetTimerJob) [Get-SPTimerJob], T
   argetInvocationException
    + FullyQualifiedErrorId : Microsoft.SharePoint.PowerShell.SPCmdletGetTimerJob

Anyone got any idea how I can remove the jobs in 2010?

share|improve this question
add comment

1 Answer

up vote 1 down vote accepted

If these timer jobs refer to your own GAC based DLLs then try removing them from the GAC and restarting the timer service. There may be problems with deserialisation of custom job data.

share|improve this answer
    
Thanks, that seems to have done it. As for Get-SPTimerJobs, it works if I specify -WebApplication but fails for everything else. Cheers –  user696 May 3 '10 at 21:38
    
Blogged about it here: jonesie.net.nz/2010/05/05/SharePoint2010CustomTimerJobs.aspx –  user696 May 6 '10 at 5:30
    
This worked for me, thanks. –  haymansfield Jul 5 '13 at 9:46
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.