A timer job runs in a specific Windows service for SharePoint Server to automate common SharePoint tasks.
1
vote
1answer
499 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
286 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
143 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
424 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
0answers
96 views
How to debug a Timer Job, specificall Sharepointboost AD Sync
We have multiple web apps running on our server farm and have Sharepointboost AD Sync deployed on all of them. The Timer Job shows as being scheduled for all web apps, on all servers, we have 2 WFE ...
0
votes
3answers
82 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
146 views
Can't get the user email from user info when code executing in timer job
SPList resourceList = SiteProvisioningProvider.GetListReference(web, "Lists/Resources");
foreach (SPFieldUserValue admin in adminCollection)
{
...
1
vote
1answer
96 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
172 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
398 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
163 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 ...
0
votes
0answers
146 views
Starting Workflow in Timerjob fails sometimes
I wrote a timerjob how at some point creates an item and starts a workflow on that item manually. This works like 4 out of 5 times. When it doesn't work i get this not so cool exception:
...
1
vote
0answers
303 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
250 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
282 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
244 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
93 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
146 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
80 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
1k 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
205 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 ...
1
vote
3answers
599 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
94 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.
0
votes
3answers
2k 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
702 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
267 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
209 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
31 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
277 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
558 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 ...
1
vote
4answers
2k 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 ...
8
votes
2answers
2k 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
285 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
683 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
154 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
940 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
1k 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
108 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
11
votes
2answers
893 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
2k 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
821 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
411 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
444 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
300 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
992 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 ...
0
votes
1answer
287 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
686 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
415 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
207 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
500 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 ...

