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
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 ...
1
vote
1answer
904 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 ...
1
vote
2answers
921 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
4answers
2k 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 ...
1
vote
1answer
44 views

Iterate all documents and folders in a document library,

We have a document library on our Intranet where documents are stored. The document library also has 2 folders with broken inheritance. I want to loop through all the documents in the document ...
1
vote
2answers
59 views

How to set timer job interval?

How can we set timer job so that it will run on specific date of month? For example, i want schedule timer job to run on 2nd and 28th day of month. How can we do that?
1
vote
1answer
76 views

I want to know where are the timer jobs, webparts and user controls saved?

Are they saved in the content db or Layouts folder?
1
vote
1answer
900 views

How to identify the jobs which are running?

I need to find the jobs which are running currently. This is to check the longest running jobs. Is there any powershell sript to get this done?
1
vote
1answer
700 views

Accessing Entity Framework from Timer Job: connection string problem

I had a DB that normally I access from my SharePoint (2010) custom feature by Entity Framework. The connection string is stored in the web.config. If I do something like that from outside TimerJob: ...
1
vote
1answer
490 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 ...
1
vote
1answer
129 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. ...
1
vote
1answer
1k views

Is there any reason to have the “Scheduled Approval” timer job run every minute?

Why is the Scheduled Approval timer job in SharePoint 2010 scheduled to run every minute by default? What are the potential issues with making it 5 or 10 minutes? Does this timer job only apply to ...
1
vote
1answer
483 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
3answers
779 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 ...
1
vote
1answer
51 views
+50

Exception: System.NullReferenceException: Object reference not set to an instance of an object

I recently uploaded a timer job that's purpose is to kick off a workflow on items in a custom List. Upon trying to activate it, I am immediately redirected to an error page with a Correlation ID. ...
1
vote
1answer
31 views

Error when activating feauture that installs a timer job

I have the following error when activating a feature, this feature is supposed to install a timer job. Failed to create receiver object from assembly "MundoNetElements, Version=1.0.0.0, ...
1
vote
1answer
14 views

Configuration page for a custom timer job - how do I get the job definition?

Part of a project I'm working on involves creating a custom timer job which has some properties which are populated via the feature Template.XML file by default. However, while this is sufficient for ...
1
vote
2answers
103 views

How to restore deleted OOB Timer Job

One of development server "delete job history" job got deleted accidently. Now how to restore it back? We have ran the configuration wizard, but no luck.
1
vote
1answer
617 views

Invoking PowerShell inside a SharePoint 2013 timer job throws an exception

I have a SP2013 timer job where I'm executing some SharePoint PowerShell commands. The same code that used to work in SharePoint 2010 will not work in SharePoint 2013 (Server 2012) - when the job is ...
1
vote
1answer
185 views

Why is TryGetList failing within my Timer Job?

I have a custom SharePoint 2010 Timer Job that had been running fine. The job performs processing on 88 sites in our web application. One day, everything was working fine. The next day, the 72nd site ...
1
vote
2answers
69 views

Can't write to ULS

I have done some minor fixes to a timerjob, which writes to ULS after every step and error, but, for some reason after last deployment, it fails and is most confusing to me - doesn't write to ULS ...
1
vote
3answers
64 views

Timerjob location

I want to know, is there any way to find where timer-job is activated (url where timerjob's feature activated) using Powershell.
1
vote
1answer
175 views

Create Timer Jobs dynamically using code (on the fly)

What I am trying to accomplish here is different from the usual "Create and deploy a new custom timer job". So please co operate. Scenario : I have around 200 lists in my site. Each list gets its ...
1
vote
1answer
212 views

SPJobDefinition - base.Execute(targetInstanceId);

I have a timer job that manipulates items in a list. The code for it looks something like: public overrride void Execute(Guid targetInstanceId) { //base.Execute(targetInstanceId); /* Code ...
1
vote
1answer
61 views

Timer job removing web part after 5 minutes

I have 3 lists on my home page. News Events Alerts I have 2 sites English(Master site) Arabic I have added News, Events and Alerts web parts on English home page. News and Events are ...
1
vote
1answer
43 views

When submitting/creating a custom timer job in SharePoint, how is the job's ID set?

I have a number of custom jobs that my program adds to my SharePoint environment. I noticed that there is no option to give the job a particular ID/GUID in the constructor. So my question is: How is ...
1
vote
2answers
461 views

timer job not appearing- SharePoint 2007

I have created a Timer Job and deployed the wsp to the central admin. The feature is installed and activated fine. I don't get any error. But i can't see the timer job in the Timer job list in ...
1
vote
1answer
525 views

workitem timerjob wont execute

I have the following timer job, not done by me. When I attach debugger to OWSTIMER.EXE the constructors are triggered but the ProcessWorkItem method is never step into. There are about 4000 ...
1
vote
1answer
1k views

Rating's not being saved

Initially, I thought there was a problem with a control I've made to rate a document when I found that no documents appeared to be rated. So last night I rated documents (approved and published) ...
1
vote
1answer
650 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 ...
1
vote
1answer
192 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 ...
1
vote
1answer
667 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
2answers
2k 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 ...
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
2answers
809 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 ...
1
vote
1answer
472 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 ...
1
vote
3answers
391 views

what is the best way to send survey or poll once a year

I have a requirement to send an online survey/poll/feedback form to all the users in our intranet once a year. I have been advised that this might require creating an infopath form and completed forms ...
1
vote
2answers
439 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 ...
1
vote
1answer
180 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 ...
1
vote
1answer
3k 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 ...
1
vote
1answer
137 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
1answer
620 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 ...
1
vote
1answer
3k 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. ...
1
vote
1answer
46 views

Get site collection in timer job

I use this code to get the site collection : SPWebApplication webApplication = this.Parent as SPWebApplication; SPContentDatabase contentDb = webApplication.ContentDatabases[targetInstanceId]; SPSite ...
1
vote
0answers
15 views

How to update spjob

I've a solution sharepoint 2010 for a job that i want to update. So i did in powershell an update-spsolution and restart sharepoint timer job For testing, i changed the start hour in event of my job. ...
1
vote
1answer
51 views

Set alert in central administration to notify when timer job fails?

Is there a way to set an alert in SharePoint 2010 Central Administration to notify an administrator when a timer job fails? For example, I'd like to be notified when the following job's status equals ...
1
vote
1answer
86 views

Error occurred in deployment step 'Add Solution': Specified argument was out of the range of valid values

I've been working o a Timerjob project. All of a sudden, when I try to deploy the solution from VS, I got this error: Error 1 Error occurred in deployment step 'Add Solution': Specified ...
1
vote
1answer
57 views

All timer jobs runs three times including my own custom timer job

All timer jobs on my server runs exactly three time. Not more not less. I noticed this when I created my own custom timer job. My custom job and all other sharepoint's jobs runs exactly three time. I ...
1
vote
0answers
110 views

SharePoint Timer Job is running but not executing

This feature is scoped at the site collection level. When the feature activated, the timer job is created in the web application with a generic name that includes the site collection URL that it's ...
1
vote
0answers
45 views

Create CV ( Curriculum vitae ) based on mysite properties - workflow / timerjob?

What's the best way to automatically create a CV based on users mysite? We've thinking of placing all the properties we need in the mysite properties, and then create a CV in word and just map ...