A timer job runs in a specific Windows service for SharePoint Server to automate common SharePoint tasks.

learn more… | top users | synonyms (1)

0
votes
2answers
265 views

Can't get the user email from user info when code executing in timer job

SPList resourceList = SiteProvisioningProvider.GetListReference(web, "Lists/list"); foreach (SPFieldUserValue admin in adminCollection) { SPListItem ...
0
votes
1answer
468 views

Debugging a Timer Job

I was not able to do something a little more elaborate with my timer job so I decided to check if something basic works. So I tried the code below - but it keeps giving me this error - why? UPDATE ...
0
votes
1answer
2k views

Object reference not set to an instance of an object when Updating a Timer JOB?

This is really weird. The exception is thrown in the FeatureActivated event exactly in the line job.Update(). There is no way to debug any further because that method is from the framework. Maybe I ...
0
votes
1answer
275 views

Problem registering new timer job

I have the following problem when trying to create a timer job I created my job based on this article: http://msdn.microsoft.com/en-us/library/hh528519.aspx However, debugging the feature activated ...
0
votes
2answers
602 views

Timer Job Installation Error - Error obtaining reference to Site

I Have weird problem intalling custom timer job definition to specific webapplication. Environment is 2x wfe + 1x application server. Development and staging works fine (single server boxes) ...
0
votes
1answer
2k views

SPProductVersionJobDefinition throws Collection was modified; enumeration operation may not execute

I just finished Sp1 Upgrade in a Sp2013 Server Dev Environment. Going through the Windows Event log i discovered following error: The Execute method of job definition ...
-1
votes
2answers
93 views

Define a backup job on daily basis

I usually run the following three statements manually inside SharePoint power shell :- Backup-spsite -identity http://tgvsps01 -path T:\back\Team.bak –force Backup-spsite -identity ...