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

learn more… | top users | synonyms (1)

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
686 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 ...
8
votes
2answers
994 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# ...
1
vote
2answers
369 views

Workflow and timer job synchronization

I have a SP 2010 workflow that prompts information from the users, and a timer job which reads data from a constantly-updated DB. They both add data to another list item that stores the most recent ...
0
votes
1answer
232 views

MSOCAF Issue - Timer Job Implementation

Microsoft online code analysis framework , as we know i used to analyze the code [.wsp] My code contains the timer job which is activated via feature. After running the MSOCAF on my WSP , i get ...
8
votes
5answers
15k 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 ...
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
8k 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
1answer
263 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 ...
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?
5
votes
3answers
4k 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?
4
votes
1answer
6k 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
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. ...
7
votes
1answer
691 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 ...
1
vote
1answer
165 views

SPSearchJobDefinition error after migrating to new domain

I've moved our sharepoint server (MOSS 2007) from one domain to another following this procedure. Everything seems to work OK but I've getting the error below in the event logs every five minutes. It ...
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
1
vote
1answer
1k views

SPImmediateAlertsJobDefinition errors in Event Log

I am sporadically getting errors in my Event Log for SPImmediateAlertsJobDefinition with the ID 6893, I've seen some of the posts out there pointing towards issues with the SharePoint assembly files. ...
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
2answers
927 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 ...
1
vote
1answer
2k views

Class not found in assembly when deploying custom timer job

Been struggling with this problem for a while. I'm deploying a custom timer job to SharePoint Foundation 2010, initially using the tutorial here. This timer job is supposed to add an element to a ...
2
votes
2answers
712 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 ...
3
votes
1answer
1k 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 ...
2
votes
1answer
1k views

Sharepoint 2010: Custom Timer Job Configurable Properties

I would like to know if it is possible to have configurable properties for a timer job that can be managed via Central Administration, prior to the job actually running. Let me paint a usage ...
1
vote
2answers
840 views

SpTimer job running on a farm not working as expected.

I am writing a timer job in the proposed way using a feature receiver to install the timer job. In my development environment, things are working well, its stand alone. When I deploy to test ...
1
vote
1answer
136 views

Timer Job Guid seems to be wrong

I have created a timer job which was deploying and working without any problems. I then created a second job in the same feature and had some problems deploying it, but after restarting Visual Studio ...
1
vote
2answers
2k views

Running code under another user in custom timer job

My OWSTIMER.EXE process is running under network service. I have a certain timer job that should perform the following actions: Add taxonomy terms to a certain term store Add items to a certain ...
0
votes
2answers
2k views

Custom SP Timer Job in Sharepoint 2010 not working (does nothing)

I'm busy writing / debugging my first custom timer job in Sharepoint 2010. What is working so far: The timer job installs The timer job can start What's not working: Nothing else seems to be ...
0
votes
2answers
213 views

Job not executing

I'm creating a job but it doesn't seem to be executing. The constructor is being called, but the OnExecute isn't, I can tell that since I see it in DbgView: [6960] ReadAuditLogJob() [6960] ...
0
votes
2answers
843 views

Configuration for timer job Sharepoint 2010

I have a timer job that needs to connect to a SQL Database. Where would one typically store this connection string. In normal app development, one has app.config. Clearly using app.config in this ...
0
votes
1answer
155 views

MOSS TimerJob “results” are not appearing on the sites

I have weird problem with my custom timer job... My timer job rans perfectly and shows succeeded in tmr status page BUT no changes don`t appear in these site collections. I have heavily logged ...
1
vote
1answer
401 views

Sharepoint 2007 Workflow 'Pause for Duration' action SharePoint timer service

I have several workflows that have been designed in SharePoint 2007 that use the 'Pause for Duration' action. I know that this action is dependant on the SharePoint Timer Servce. My question is if ...
1
vote
4answers
1k views

Custom Timer Job Throwing Exceptions

I have written a custom timer job, created a feature, and written a feature receiver to install and uninstall the Timer Job in the web app on Activate/Deactivate. The custom job roughly follows the ...
0
votes
2answers
591 views

Best practise for store/edit setting for custom time job?

What's the best practise for store/edit setting for custom time job? Well, we have OOTB _admin/Timer.aspx and /_admin/JobEdit.aspx pages, but if we have custom timer job with some setting (by the ...
1
vote
2answers
3k views

Create sptimer job in c# and/or powershell

Can anyone tell me how to go about creating a timer job for sharepoint 2010 either using C# or Powershell. All the best
2
votes
1answer
1k views

How do I start a workflow from a timer job?

I need to start a particular workflow in a list from a timer job. Is there any sample code for starting the workflow in the timer job's Execute() method?
0
votes
2answers
570 views

Timer Job Installation Error - Error obtaining reference to Site

I Have weird problem intalling custom timer job definition to specific webapplication. Environment is 2x wfe + 1x application server. Development and staging works fine (single server boxes) ...
1
vote
1answer
534 views

Timer job to copy file

I have a web application scoped feature that creates and submits a one-time timer job when the feature is activated. The purpose of the timer job is to copy a file from one directory to another on the ...
0
votes
4answers
2k views

Immediate Timer job wont start

I have an immediate timer job that stopped working on the 7th July. It is the only timer job that has stopped and will not run. I've restarted the services, set the job to run every 1 min, reset IIS. ...
1
vote
3answers
651 views

Can SharePoint timer jobs call SQL Server?

I have created a console application that retrieves data from SQL Server 2008 into a SP 2010 portal. The account that it uses is a personal account that is part of an AD group that has been configured ...
8
votes
2answers
715 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 ...
2
votes
2answers
251 views

Database migration problem

We have recently migrated our MOSS databases from MS SQL Express 2005 to MS SQL 2008 both intances running on the same Windows 2003 server. After "successful" migration we switched the 2005 server ...
2
votes
1answer
825 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 ...
1
vote
1answer
2k views

Delete timer jobs

I have a couple of timer jobs that I cant get rid of. I think they got created as a consequnce of creating a custom job. Also, if I use powershell Get-SPTimerJob then I get an exception. ...
0
votes
1answer
55 views

Performance Metrics and CA Configuration & Content DB?

When can we expect a maximum number of SQL connections for the Central Administration Configuration & Content DB? and what are all the important tables in these databases that an administrator ...
2
votes
3answers
486 views

What decides which machine a Timer Job is run on?

What decides which machine a Timer Job is run on for jobs that have a lock of type JobLockType.Job? Is it completely random?
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 ...
5
votes
3answers
732 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 ...
2
votes
1answer
94 views

Running code that creates a TimerJobDefinition outside of Central Admin

I have run into a problem several times now where I have developed a custom timer job, and I want my site collection administrators to manage the schedule of this job with a custom application page ...