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

learn more… | top users | synonyms (1)

3
votes
2answers
553 views

SPWebApplication returns null on timer service

I am trying to debug a timer job, its WEB application scoped. When it executes, webapp and sitecollections are null for some reason? Any idea? Update1: I changed a little bit the code, check ...
0
votes
1answer
1k 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
232 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
2k views

timer job programatically check status

Is there a way to check for the status of a timer job, I need to know the last time it executed and its status, that it run correctly?
0
votes
5answers
2k views

Deployment of Custom Timer job in Sharepoint 2010

I am creating Timer Job in Sharepoint 2010. When I try to deploy the solution I get the following error : Error occurred in deployment step 'Add Solution': Object reference not set to an instance of ...
0
votes
3answers
155 views

Get default WebApplication in a farm

I have a question about getting the default WebApplication in the farm - how do I do it? I need to, because my timer job must be completed only for one WebApplication. PS: I'm using SharePoint 2010
13
votes
2answers
2k views

Error computing the expiration data for item

EventID 7972 Task Category: Information Policy Management Source: Document Management Server > > Error computing the expiration date for item > ...
0
votes
2answers
4k views

Restore-SPSite reports “No content databases are available for this operation…”

I've run a site collection backup using Backup-SPSite. I then deleted the Site Collection using CA. Then tried to restore is using Restore-SPSite. Got the error "No content databases are available ...
1
vote
2answers
2k views

Why Execute method is not called?

I have created custom timer job and successfully deploy it into SP. I see this timer job and feature on the lists. Job is being called every 10 minutes with status "succeeded". Issue is that Execute ...
1
vote
0answers
512 views

SharePoint 2010: Application Server Administration Service Timer Job

One of our customers has a large SharePoint 2010 farm which was having problems with 100% CPU usage for a large part of every minute (15 seconds) when the Application Server Administration Service ...
1
vote
1answer
853 views

Run a custom timer job only on weekdays

So I want to run a timer job only on weekdays. Does anybody have any experience with a similar requirement? I can think of two options: Inherit from the SPSchedule class, and write my own custom ...
2
votes
2answers
370 views

Does Timer Job Waits for the Operation To Complete

I was curious about if the timer jobs execution interval is like 3 minutes and the execution of the code is like 10 minutes, what happens internally. I'm sure that the timerjob execution is not ...
2
votes
3answers
1k views

Problem Activating Custom Timer Job

Right now I'm trying to create a SharePoint 2010 Custom Timer Job in Visual Basic 2010, which doesn't want to register itself in the SharePoint Timer (it appears to add ok and everything, but doesn't ...
2
votes
1answer
382 views

Best Practices for re-scheduling and starting the specific timer job using code

I have a situation where some of the code needs to re-schedule the specific timer job and start it according to new schedule. The timer jobs actually writes (need permissions) into the SharePoint ...
2
votes
3answers
1k views

Accessing connection string in custom job

I have configured connection string in my IIS since I'm reusing it through my sharepoint solutions and custom services running next to sharepoint sites. I'm using following snippet throughout my ...
1
vote
3answers
659 views

How to delete a custom timer job?

Although we can delete a running timer job from Central administration Monitoring section, but is there anything that we need to implement in a custom timer job so that the job stops as soon as it is ...
0
votes
1answer
307 views

Expiration Policy Job - debugging

I am trying to find out what error is preventing our Expiration Policy timer job from completing. It is scheduled daily about 10PM. Sometimes when I come in in the morning it is Aborted, sometimes ...
1
vote
2answers
661 views

Column doesnt exist error - Sharepoint Deployment

I am getting an error while deploying a project to the Timer Jobs. It keeps shooting me an error that says "Column does not exist", when I go to my list and my code, there is no such variable or ...
3
votes
2answers
2k views

My Timer Job Not sending any mail!

Hi I used following code to send mail from Timer job, (Thanks to Mr Deepu for providing a sample template). After deploying it, I could able to find this job, in the monitoring section of the Central ...
1
vote
1answer
279 views

How can I non-destructively query the status of a SPWorkItem?

Suppose I have a custom timer job that processes work items. How can I check whether the timer job has processed a specific SPWorkItem without interfering with the actual processing? If I try to ...
2
votes
1answer
3k views

How do you delete a SharePoint 2010 TimerJob?

I have created a custom TimerJob in Visual Studio 2010 using an Empty SharePoint project. I added some functional code and deployed it to my SharePoint site. The TimerJob ran according to plan. I ...
4
votes
4answers
207 views

Timer Job Creation - Without Coding

Is there any way that allows me to create a timer job without having to code it? Any application out there that abstracts the coding?
3
votes
2answers
2k views

Web Analytics Reports force update

What jobs do you need to run to update the metrics for Web Analytics Reports? It looks like they update daily, but I am unsure what jobs to kick off to see it update more regulary.
6
votes
3answers
2k views

What is downside of reducing the workflow timer job in SharePoint2010 from 5mins to 1 mins

I am working on a project which trigger the workflow in code asynchronously, the default time for the workflow timer job to pick the workflow is 5 mins , I would like to reduce the timer job from ...
3
votes
2answers
2k views

Access denied when registering a custom timer job

I am getting a SecurityException while trying to activate a feature with a custom timer job. The error is raised from the job.Update() method call. I am running the code with Farm Admin account. Do ...
3
votes
1answer
3k views

SharePoint 2010 - Enable all logging timer jobs. Performance?

I found an interesting article about the logging timer jobs in SharePoint 2010. http://msdn.microsoft.com/en-us/library/gg512103.aspx#bk_splog In this article, it is stating that all the following ...
3
votes
3answers
974 views

custom timer job with feature receiver not working in the browser

I've created a custom timer job with the following sample http://dotnetfinder.wordpress.com/2010/07/24/creatingcustomsharepointtimerjob2010/ The feature is site scoped. In the feature receiver on ...
3
votes
2answers
450 views

How to read the xml file from 14 hive

I have a custom timer job by which I need to create custom properties using an xml file (which has all the custom properties). As for the xml file, I'm thinking to create a module for it. And then ...
2
votes
1answer
512 views

run a Console Application within a timer job

I need to run a console application within the execute method of a timer job in SharePoint 2010. Please guide me to do this by providing samples or links or hints.
2
votes
1answer
1k views

SharePoint. How to run timerjob every 90 minutes

I have a web.config setting like IntervalInMinutes. I would like to use the setting value to create my SPSchedule instance and run my job. The interval should be set in minutes. I know how to use ...
1
vote
1answer
127 views

Custom TimerJob

I need to disable a custom timer job when deactivating a feature and must run the timer job on activating the feature in SharePoint 2010. Can you please help me with the code or blogs or pointers. ...
0
votes
1answer
505 views

synchronize data from external list and SPList

How do we synchronize data from an external list (BCS) into a custom SharePoint list? I have tried using a timer job, but it did not help. Any ideas?
2
votes
2answers
819 views

Error trying to Update List Items via a TimerJob

I thought I could reference SPContext when executing the timerjob function but I get "Instance reference is not set to an instance of an object". It fails when I reference SPContext. What am I doing ...
2
votes
1answer
211 views

How to hookup an onError event for an SPTimerjob?

I have a timer job which is pretty standard. Like any timer job execution of it can sometimes fail. If this happens in job status (Central Admin) the timer job status is failed. I would like to be ...
6
votes
3answers
3k views

Configure SharePoint user for timer job

A farm administrator should allow access for a new user to the web, this user has never been added to any sharepoint groups before (He is a new employee, for example). This user should have ...
9
votes
4answers
3k views

Web scoped Timer Job

Could you help me understand the SharePoint timer job? The issue is simple. I should implement a page and put it to the layout folder (the page should be accessible from any web). This page should ...
8
votes
1answer
2k views

What is the right way to update a custom timer job?

I created a custom timer job (SharePoint 2010) which gets registered through a feature receiver. At the moment the custom timer job works fine but I need to make changes to the code. So, naturally I ...
1
vote
2answers
306 views

How to develop for Sharepoint 2010 in VisualStudio when your sharepoint server isn't on your local machine

I am trying to program a timer job for sharepoint 2010. It's for my job at school and the sharepoint servers are located somewhere on campus where I don't have access to them. I am new to visual ...
1
vote
2answers
97 views

Accidently retracted two solutions, but timer is not running

I've accidently retracted two solutions from the farm in WSS3 but luckily the timer is not running so the jobs did not run. Now when I go to Solution Management I see "Error" for their deployment ...
1
vote
3answers
325 views

what is the best way to send survey or poll once a year

I have a requirement to send an online survey/poll/feedback form to all the users in our intranet once a year. I have been advised that this might require creating an infopath form and completed forms ...
2
votes
4answers
161 views

How to create “date based” folder permissions in 2010

I need to create permissions for folders based on dates. For example: Group B and Group A both have permissions for folder X. On june 21st of every year, group B will lose access to Folder X until ...
3
votes
1answer
413 views

Recycle Bin Timer Job

The recycle bin timerjob is configured to run daily at 1.00 am . The CPU utilization of the database was nearly 90 %. When i checked the recycle job status it was initialized at 12.00 noon. Now the ...
1
vote
1answer
944 views

Is there any reason to have the “Scheduled Approval” timer job run every minute?

Why is the Scheduled Approval timer job in SharePoint 2010 scheduled to run every minute by default? What are the potential issues with making it 5 or 10 minutes? Does this timer job only apply to ...
0
votes
1answer
1k views

Restart Application Server ADministration Service Timer job? Flush all Timer jobs?

On two of my Servers, the Application Server Time Job says Failed, but I can't figure out why. I'm looking in the logs and can't figure out why. Does anybody know where I can find procedures to flush ...
4
votes
1answer
837 views

Custom timer job - trying to access a custom User Profile - failing with “Could not load file or assembly” (of UserProfile)

I'd be grateful if anyone could point me towards the right direction for the following problem. Given: Sharepoint 2010 project. FBA Authentication with custom user profile (class called UserProfile, ...
1
vote
0answers
200 views

E-Mail Timer Jobs Are Not Firing

In a MOSS 2007 environment, I've setup Incoming E-Mail Settings in Central Admin and two timer jobs were subsequently created: 1) Windows SharePoint Services Get Incoming E-Mail Configuration 2) ...
6
votes
4answers
3k views

How can I schedule the User Profile Service to run a full sync weekly?

We are running SharePoint Server 2010 and have not yet applied SP1. User profile incremental sync is not picking up all of the group membership from AD. Starting a full sync seems to rectify the ...
0
votes
2answers
2k views

Custom Timer job throws an error : “Value cannot be null. Parameter name: uriString”

I am facing an issue while trying to write the custom Timer Job in SharePoint 2007. Have overridden the Execute method public override void Execute(Guid contentDbId) { using (SPSite ...
1
vote
1answer
673 views

Custom timer job only runs on application server

I have a custom timer job that I create an instance of by activating a web application scoped feature in Central Admin. In the farm, the Central Admin box is an application server. What I'm finding is ...
0
votes
1answer
156 views

Crawling the taxonomy store using a timer job in central admin

I am trying to get a timer job to crawl the Taxonomy Termstores, and am having a problem determining which SPSite object to use when instantiating the TaxonomySession. Is there a SPSite instance that ...