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
603 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
628 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
463 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
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
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
468 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
754 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
2answers
44 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
414 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
114 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
61 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
61 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
155 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
180 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
41 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
408 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
467 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
630 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
179 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
633 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
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 ...
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
782 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
405 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
369 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
426 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
173 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
600 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
18 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
18 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
32 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
74 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
39 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 ...
1
vote
0answers
39 views

Timer job is not running on all servers in 2007 MOSS Farm

We have shifted our MOSS 2007 Solution from one Server machine to another server machine. On old server after deploying corresponding .wsp file, our custom timer job runs on all 3 servers sess1, sess2 ...
1
vote
0answers
50 views

Import process running much slower when started inside timer job

We have implemented a CSV import fort some large CSV files. The process can be triggered by the user changing a drop down value of a file inside a sharepoint library to "pending". Our importer then ...
1
vote
0answers
233 views

SharePoint 2013 Health Report List alerts not sending emails, job-immediate-alerts last run time N/A in CA

We are trying to configure email alerts on the Central Admin Health Report list in SharePoint 2013. We get the confirmation email when the alert is first created, but nothing when a new error or ...
1
vote
0answers
111 views

SPJobDefinition not recognized

using System; using System.Collections.Generic; using System.Linq; using System.Text; using Microsoft.SharePoint; using Microsoft.SharePoint.Administration; namespace SeaforthCalendar.TimerJob { ...
1
vote
1answer
157 views

Custom Timer Job is not working in production

I have a document library called Documents in production. I wrote a timer job for sending emails based on the columns in the library. Everything was fine in the dev environment but the timer job in ...
1
vote
0answers
81 views

SharePoint Online workflow pause until

As far as I know it could cause troubles to pause a workflow for a longer time, like a few months. And I can understand that it could be a problem to do so on an on premise installation. But what ...
1
vote
2answers
241 views

Timer Job throws Field types not installed correctly Exception when querying a list

Hi Guys I have this situation: A timer job queries a list and gets items from it. The 2 queries are: <Where> <And> <And> <Leq> ...
1
vote
0answers
136 views

List all SPWorkItemJobDefinition

I have a document that I would like to delete, but receive the following error message: "This list item has a job pending." I believe this is caused by our TRIM Integration creating SPWorkItems on ...
1
vote
0answers
133 views

Create timer job to execute powershell script?

I have created timer job and under execute method.i have added below statement to run sharepoint command. runspace.RunspaceConfiguration.AddPSSnapIn("Microsoft.SharePoint.PowerShell", out ...
1
vote
1answer
81 views

Timer job status

I am trying to figure out why SharePoint does not send notifications every once in a while. I seem to find myself restarting the "Windows SharePoint Services Timer" on the server and then all of a ...
1
vote
0answers
31 views

Job was updated do not execute the actual code!

I have a job (timer job) that was updated but the new code is not executed but the old!!! I have reseted the Sharpoint Timer, I have reseted the App Pool IIS ... but nothing makes the new job code ...