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

learn more… | top users | synonyms (1)

1
vote
1answer
384 views

Timer Job - targets to specific application server

Below is our server topology 3 WFEs 2 App Servers 1 DB server Now, I would like to write a custom timer job that should run only on the specific application server("APP1"). SPJobdefinition does not ...
0
votes
2answers
301 views

Problem with connectivity and OWSTIMER.exe

Our stagging environment is on a single server with 3 virtual servers, Database Server K2 Workflow Server WebFrontEnd Server Now time to time I am getting this exception for a webpart in event ...
0
votes
2answers
942 views

Microsoft SharePoint Guidance: Could not load assembly 'Microsoft.Practices.ServiceLocation'

I am using Microsoft SharePoint Guidance for logging and exception handling in my SharePoint timer job, my solution in SharePoint 2007 worked perfectly (and is working). Right now I am in the ...
0
votes
0answers
146 views

All timer jobs are missing from a Web Application

A timer job solution has been written and installed to our farm. It appeared to install correctly. However when you go to Central Admin under timer jobs and look at ...
0
votes
2answers
758 views

Run timer job on a single content database using SPJobLockType.Job

I have developed a custom timer job, inheriting from SPJobDefinition. It currently runs on two content databases, and I would like it to run on only one. I have created this timer job using the ...
1
vote
3answers
2k views

“Access Denied” while Activating Custom Timer Job

When i tried to Activate Feature of Timer Job It returns error : Access Denied Scope of Feature is "Site".. private static void CreateJob(SPSite site) { try { ...
0
votes
1answer
239 views

Possible to programmatically force timer to run?

I've exposed some 'rename metadata term' functionality to the user through an application page. It works fine, but they obviously don't see the changes until the 'Taxonomy Update Scheduler' has ran - ...
0
votes
1answer
196 views

Is there anyway to execute a web scoped timer jobs manually

My timer job runs every 15 minutes so on Staging server I have to wait 15 minutes while waiting for results after deploying it, is there any way I can simply execute it, I remember there was some ...
0
votes
1answer
915 views

Access Secure Store Service from Timer Job

I'm creating a timer job that polls an RSS feed that requires a username and password. I'd like to store the login credentials in the Secure Store Service. I believe I have successfully set this up ...
2
votes
1answer
1k views

Timer Job with lock type SPJobLockType.Job is scheduled on all WFE servers

I have written a custom timer job that should only run on one server in the farm. The constructor is as follows: public class MyCustomTimerJob : SPJobDefinition { public MyCustomTimerJob () : ...
2
votes
1answer
593 views

Alternative to HttpContext.Cache within a Timer Job

A coworker of mine has created a centralized Logging utility that works throughout our SP projects. It does a good job of queuing up a large number of logs, deals with logging level, etc. However, ...
0
votes
1answer
277 views

What is the default timezone setting for a web application?

We have a sharepoint server that is in pacific time. There are several webapps and they do not have a timezone specified (Manage Web Application > Web Application > General Settings > Default ...
1
vote
1answer
532 views

Moss Timer job deployed in one web application but running in a different web application

I can't believe Timer Jobs and SharePoint can be this un-predictable. I deployed my Timer job feature solution to web application A and activated feature, it worked for 3 days in same web application ...
0
votes
3answers
96 views

SP2010 - Which best solution for “crawling” plenty of site within 5 minutes by a timer job?

I have an issue I'd like to share with you, in SP2010. Here is the situation: There are a big number of sites, let's say 500, within one or different site collections. In each site, there's a similar ...
0
votes
2answers
212 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 ...
1
vote
1answer
136 views

Timer Jobs auto provisioning?

I want to create a timer job that will be on all of SharePoint's web applications. It's not a problem - but I'm thinking of the situation when a new web application is created. Will my timer job be ...
0
votes
1answer
262 views

how to force a Timer Job solution to reference dll from gac

I developed a timer job feature using wsp-builder now when I take wsp file and deploy it to our development server it references an old version of dll from GAC even tho I updated gac with latest ...
0
votes
2answers
739 views

why timer job stucks at initialized status

I don't get the point why sharepoint timer job stucks at "Initialized" status, even tho it worked properly once, any idea's ? I know how to make it work again then but just dont understand the ...
0
votes
1answer
229 views

Why is my timer job running as a nameless GenericIdentity?

I am trying to run a timer job in SharePoint 2010 that ultimately will call into the BCS to retrieve info from an Oracle database. My timer service is running as a domain user, so I expected this ...
1
vote
0answers
429 views

Customize a timer job to send email when an item is added to a list in Sharepoint 2007

Need to send a mail to the Reviewer of a document ( this value is got from the Reviewer column of the library) when the document is added using timer jobs. Kindly provide steps and code snippet for ...
2
votes
3answers
441 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
430 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
352 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
106 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
174 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
97 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
2k 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
301 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
128 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
3k 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
354 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
255 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
32 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
374 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
711 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 ...
3
votes
4answers
3k 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 ...
12
votes
3answers
3k 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
487 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
210 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
141 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
12
votes
2answers
1k 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
3k 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
1k 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
474 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
744 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 ...