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

learn more… | top users | synonyms (1)

2
votes
3answers
601 views

OWSTimer.exe suddenly disappeared

I am testing/debugging this Timer Job, while deploying my solution again and again using WSP Builder, I manage to hide OWSTimer.exe so now I cant find it to attach timer job to and debug my code, ...
1
vote
1answer
575 views

Executing sharepoint Job on single content db

I've added a 2nd site collection with its own content db. My custom timer job now runs twice, I want it to run only once as it sends an email out. How can I achieve this ? Here is my code : I've ...
1
vote
1answer
431 views

SPJobDefinition Execute Method isn't overriding

I built a custom Timer Job on activation I was able to debug it and it was going through Execute method I am overriding but suddenly its not overriding anymore. Code is here: public class ...
2
votes
1answer
111 views

Farm Based Custom Timer Job Feature

I am trying to create a custom timer job where feature is farm scoped and will run on a farm level, I am not able to find any decent tutorial that tells how to create a farm based custom timer job ...
0
votes
1answer
185 views

Timer on a SharePoint List

I came across a very interesting scenario I need a Timer for Item added Event receiver for a SharePoint List and this list is being added to hundred of Webs. Now each List needs a timer job, which ...
0
votes
3answers
100 views

SP Timer Job - is it possible to call a SP timer job via a class or from a button click event?

I was just wondering if it's possible to call a timer job from a button click or some logic in a custom solution? If so do, please provide an example.
1
vote
2answers
3k views

SharePoint Timer Service acting erratically

This is a SharePoint 2010 Server Enterprise Install with SP1 and the December 2011 CU. The farm has 1 WFE/App server and 1 DB server. My timer service restarts constantly. I see this message in the ...
1
vote
0answers
387 views

Database Statistics Timer Job got hangs on initialized state

Env: MOSS 2007 SP2 64 bit architecture, 4 wfe and1 app server, wins server 2003, Sql 2005 . I have a site collection in web app which is reached 50 GB. Due to this, the Site collection is not ...
3
votes
3answers
1k views

Instantiating timer job multiple times

I need to check the status of a VS workflow a number of times for status and send email if task incomplete. Usually I create a Sharepoint timer Job. As I am required to check numerous times a day ...
1
vote
1answer
147 views

How can i instantiate multiple timer jobs with deffering names

I have created a timer job in VS and want to instantiate a number of times so I can have differing schedules. How can I do this pls.
1
vote
3answers
4k views

SharePoint Timer Job Configuration

I have a custom SharePoint timer job which needs access to a WCF service. Access to that service is configured via WCF endpoints in the C:\Program Files\Common Files\Microsoft Shared\Web Server ...
1
vote
2answers
1k views

Is it possible to run timer job like run now and get results

Just added a new Web Analytic service (that's been broken for ever) using msdn gg266382 article Made sure everything is enabled and configured for this new web analytic service (and made sure old wa ...
0
votes
1answer
408 views

How to get all Note Board notes?

I have written code like this SPServiceContext context = SPServiceContext.GetContext(site); Uri uri = new Uri("http://localhost:1000/"); var socialCommentManager = new SocialCommentManager(context); ...
0
votes
1answer
273 views

Permissions issue using SPJobDefinition

I have an SPJobDefinition (WSS) that runs each hour. Based on some values, and if met, it adds an item to the calendar list. This calendar list has an event receiver attached to the ItemAdded event. ...
0
votes
2answers
33 views

Share Point 2007 - Concept of an Agent?

I think I already know the answer to this question, but I'm hoping I am wrong. My background is in SQL, specifically T-SQL alongisde SSMS. I rely pretty heavily on agent jobs for periodic tasks. My ...
0
votes
1answer
442 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 ...
2
votes
2answers
851 views

Disabling/postponing timer jobs programmatically

I wrote a utility that sync's our Oracle HR database of employees into SharePoint profiles. It loads all 150,000 employees from Oracle into an array, for each employee it retrieves or creates a ...
4
votes
5answers
4k views

Document ID not being set in Libraries

My document id service does not run on some libraries. I've tried manually triggering it by running Document ID enable/disable job then Document ID assignment job. The Document ID field is always ...
16
votes
3answers
4k views

Deployed Timer Job not taking new code when deployed

I've realized recently that, when re-deploying (either manually or through vs2010) my timer job feature package, the updated execute code is not being deployed. Strange yea. Essentially, I'll ...
3
votes
2answers
633 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
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
256 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
3answers
3k 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
163 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
572 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
1k 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
406 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
394 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
744 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
343 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
725 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
340 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
216 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?
4
votes
2answers
3k 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
1k 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
490 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
606 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
2k 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
128 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. ...