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

learn more… | top users | synonyms (1)

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 ...
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 > ...
9
votes
1answer
2k views

Possible to add a “configuration” page to my custom timer job?

I would like to have a page in the central admin that allows administrators to configure a few values for the my timer job. Is there a way that I can do this?
8
votes
2answers
847 views

Why use SharePoint Custom Timer Jobs?

Am I wrong to think that Scheduled Windows Tasks running for example a console app can achieve everything that a SharePoint custom timer job can? This has been my experience so far. However, a C# ...
8
votes
4answers
2k 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
2answers
677 views

Executing a new instance of a timer job before the previously running instance has finished executing

I have a timer job that invokes a WCF service that invokes a single threaded API internally. TO ensure that my system does not fail, i want to ensure that only a single instance runs at a time. I am ...
7
votes
5answers
12k views

Trigger workflow daily

Is there a simple or OOTB way in SharePoint to trigger a workflow to execute daily? Maybe through the use of timer jobs? My goal is something that doesn't require the use of a solution or some type ...
7
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 ...
7
votes
1answer
649 views

SPService, multiple farm jobs, persisted property updates (SPPersistedObject locking?)

I have an SPService class. MySPService : SPService, IBackupRestore, IDiagnosticManager { [Persisted] private string propertyUpdatedByJobsOnAllServers; . . . } I also have a Job that runs ...
6
votes
5answers
148 views

When should we use SharePoint Timer job and when Windows Task Scheduler?

Can somehow explain me what are of the benefits of using SharePoint Timer jobs over Windows Task Scheduler?
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 ...
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 ...
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 ...
5
votes
5answers
11k views

How does Membership show in Mysite - SharePoint 2010?

I am a member of site collection however membership tab does not show any information in my Mysite even after a week. I understood that SharePoint 2010 uses a timer job to collect the membership ...
5
votes
4answers
7k views

How can I get a reference to a specifc SPWeb object in a custom timer job?

I have a custom timer job that imports data from an external source into a specific list on a specific Web in my SharePoint 2010 installation. That is the job is only relevant to one list on one web. ...
5
votes
3answers
3k views

On which server does Timer Jobs Run on? (In a medium farm)

We are going to build a medium farm and would like to split the timer jobs across the CA and WFE server. How do I set which timer job runs on which server?
5
votes
1answer
252 views

Need help specifying the location of a Custom Action

Spawned from this question. I have been able to add a new link to my Central admin page under the Monitoring->Timer Jobs section. My problem is that I have been unable to figure out how to add it ...
5
votes
3answers
718 views

What happens to executing Timer Jobs when the Timer Services is restarted?

What happens to executing Timer Jobs when the Timer Service is restarted? Does it abruptly abort any executing jobs? Is there an exception to catch (for example ThreadAbortException) in your timer ...
4
votes
4answers
2k views

What techniques do you use to debug/test your SharePoint Timer Jobs?

I have developed a number of SharePoint Timer Jobs and they are always a bit more painful to debug and test than other areas of SharePoint. I was wondering what tools/techniques other people use to ...
4
votes
4answers
205 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
1answer
5k views

Workflows Auto Cleanup Timer Job or how to remove Workflow Instances?

I have read, that every now and then the "Workflow Auto Cleanup" job runs and cleans old workflow instances which are older than 60 days are deleted (or something along the lines). I have a simple ...
4
votes
1answer
786 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, ...
4
votes
1answer
200 views

Delayed Writes & Implications for Cross-Process Synchronization

Simple scenario: OWSTIMER creates a new SPListItem, populates it and calls .Update(). It then fires an HTTP request over to w3wp.exe (front-end app-pool) to invalidate an in-memory cache held there. ...
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 ...
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 ...
3
votes
2answers
2k views

Cannot send emails through SMTP using a Timer Job?

I'm trying to use Timer Jobs as part of a system to send out special periodic emails to users of our SharePoint site collections. The timer jobs work... except when it comes to actually sending the ...
3
votes
1answer
986 views

Create a farm wide timer job…is it ok?

I'm following this http://msdn.microsoft.com/en-us/library/cc406686%28office.12%29.aspx and have successfully created a TimerJob that is WebApplication wide. this line foreach (SPSite ...
3
votes
2answers
1k 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
2answers
885 views

Develop a timer job that operates only on selected site collections

Advancing from my original intent to run things via a Workflow as per this original question, I've started to work on a complex, configurable Timer Job that reads from each listitem to determine the ...
3
votes
2answers
84 views

Where to store data needed by a custom timer job?

I have a custom ribbon button in each document library and when a user clicks it, I'd like to store some library-related data (URL, id ...) in a way that would make it available to a custom timer job. ...
3
votes
1answer
51 views

Disable timer job

Please provide me stsadm command to disable timer job in sharepoint 2007 I want to disable not delete so that in future I can enable it again if required
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 ...
3
votes
2answers
384 views

Running a Timer Job

I have a custom Timer Job that runs on every Monday. However, I want to be able to run the timer job manually outside of Central admin. but I dont want to use PowerShall or stsadm. Can I put a link ...
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.
3
votes
2answers
411 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 ...
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 ...
3
votes
1answer
2k 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
1answer
377 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 ...
3
votes
0answers
234 views

Strange error from timer job service

I'm developing timer job for SharePoint 2010. I was able to deploy it on my local machine but when I was trying to execute timer job I get strange error message: Job definition SP2010.CopyDocsJob, ...
2
votes
3answers
481 views

Make timerjob runs on specific server?

I have an already developed timer job that is running on front end servers, but I want to set it to run on application servers only. Can I do this with PowerShell without modifying any code of the ...
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, ...
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
4answers
2k views

Executing powershell script from a timer job

Is it possible to call a powershell script from a sharepoint timer job ? or are there any security issues involved in doing so? Regards, Jeevan
2
votes
2answers
81 views

SharePoint TimerJob not executing

I have a TimerJob in my feature that is not executing. I've tried restarting the timer service (below), deactivating and activating the feature, and manually executing the job using the "run now" ...
2
votes
4answers
151 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 ...
2
votes
1answer
819 views

Best Practices for Deploying Timer jobs in Server Farm Environments with multiple WFE

i have a timer job which i want to run only once per day, for the entire farm. How do I Deploy it in a multiple WFE environment? Do I run the stsadm -o deploysolution command in every WFE, or just ...
2
votes
2answers
552 views

How to fix the access issue with Timer JobDefinition Page - SP2010?

I am unable to access the Timer Job Definition Page in Central Admin and getting error given below, if anyone can tell me how to fix this issue please, The configuration database was queried for a ...
2
votes
2answers
666 views

Cannot update DB record from SP timer job

I am trying to create a timer job that will read a list of new customers from a SQL server db, create a site for the customer and then update the table with the site's id. I have no trouble reading ...
2
votes
1answer
483 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
2answers
729 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 ...