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
626 views

How to get the root site collection from a web application?

I am using sharepoint 2010 with some custom timer job at web application scope. In this timer job I have a foreach which loops into all site collection in the current web application. There is an if ...
0
votes
1answer
183 views

Sharepoint Timer Job : Cental admin or feature activated event?

I have a Sharepoint Timer job and have scheduled it on hourly basis in my feature activated event. I deploy the code , feature is activated and timer job is set . Code Snippet : SPHourlySchedule ...
2
votes
2answers
105 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" ...
1
vote
0answers
86 views

Recreate ootb Timer Job

Just accidentally deleted an out-of-the-box timer job in SharePoint Foundation 2010, the "Change Log" Timer Job, using PowerShell (SPJobDefinition.Delete()) in a farm with only one server. How can I ...
0
votes
0answers
52 views

Timer job feature disable in other site collections

I have the below scenario. I have multiple site collections present in a web application and I have to create a timer job which will be used across the site collections. When I first created it, it ...
0
votes
2answers
721 views

How to have SPSite object available in custom Timer Job?

Here's my FeatureActivated method: public override void FeatureActivated(SPFeatureReceiverProperties properties) { SPSite site; MyCustomJob customJob; SPDailySchedule schedule; ...
0
votes
0answers
143 views

What SharePoint job creates Kernel Event Trace WSSUSAGESESSION15 and how can I modify it?

On a SharePoint 2013 Foundation standalone server installation, my event logs are getting flooded with the following message: The backing-file for the real-time session "WSSUSAGESESSION15" has ...
0
votes
2answers
193 views

Does it matter if I use RunWithElevatedPrivileges in SPJobDefinition?

I have written a custom SPJobDefinition. In the public override void Execute(Guid targetInstanceId) method I am running some code which is encapsulated in SPSecurity.RunWithElevatedPrivileges. Since ...
0
votes
2answers
2k views

Create Email Reminder for Recurring Calendar Events

I'm trying to figure out a way to create 2 calendar event items. 1 that sends an email reminder 30 days before it's start time to certain people and the other that sends an email reminder 7 days ...
0
votes
3answers
510 views

Error occurs while deploying cutom timer job SP 2010

I am creating timer job in which the list item is added every 5 minutes. My class file which inherits SPJobDefinition is : public class MyTimerJob : SPJobDefinition { public MyTimerJob() : ...
0
votes
1answer
148 views

Any code sample available for fetching data from SAP to sharepoint feature using BCS?

We require to get data from SAP system in sharepoint 2010 timer job and feature as well custom webparts, reports. Require walkthrough samples or guidance to achieve the same using BCS.
2
votes
1answer
1k views

Run Sharepoint timer job programatically using RunNow() using account having non admin rights

I have a custom timer job which is scheduled to run during specific time period. I want to give a Run Now functionality using button click from custom sharepoint webpart. If i run timer job using a ...
0
votes
0answers
153 views

SharePoint 2013 custom TimerJob gets no results from list but same code as a console program returns results

Can anyone provide any ideas on why the below query returns nothing when inside a custom timer job. But when run from a console program it returns results. Note, both console program and OWSTimer.exe ...
0
votes
2answers
129 views

Preferable way to send notification for task list. Timer job or workflow?

I am new to sharepoint. I am having a task list in which I want to send e-mails to the person whom the task is assigned before 24 hours of due date. I am confused whether to use workflow or timer ...
0
votes
0answers
29 views

Issues in Deployment of Custom timer service job in share point 2010

I have created a custom timer service job in share point 2010. I have wrapped it inside a wsp with scope 'Site'.It works fine on development server, but I am facing problems in deployment on ...
0
votes
1answer
112 views

Choosing a service to associate a timer job with

I'm writing a custom timer job in C# and need to pick a service to associate my timer job with. I've tried the local timer service: : base(String.Format(JOB_NAME, Guid.NewGuid()), ...
1
vote
1answer
54 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 ...
2
votes
3answers
941 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 ...
1
vote
2answers
201 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 ...
0
votes
1answer
85 views

ecmascript/javascript to check current status of timer job

I want to show sharepoint notification when user opens a list form using oob. I am basically doing some sync with external list and sharepoint using timer job. For this i want to check if a specific ...
0
votes
0answers
85 views

GetDocumentUrlsById is not working in Load balance environment

I am using the Document ID feature and in My code i want to fetch the Documentid url so i am using this method(GetDocumentUrlsById ). For this method we need to pass spsite and Documentid. I followed ...
1
vote
0answers
136 views

NullReferenceException when Starting Workflow from TimerJob

I am creating a TimerJob that invokes the workflow. Refer to the Execute method public override void Execute(Guid targetInstanceId) { var reader = new ...
1
vote
1answer
135 views

TimerJob deploying Run with Elevated privalages

I have written a cusom timer job where in while Activating the feature i am using the below code. It works in devlopment but when i deployed it in QA i get the below error. The user is a Farm ...
0
votes
2answers
214 views

how to add items to managed metadat

I've added an new term in the 'taxonomy term store'. The new terms show in the columns that are using managed meta data. I'm querying the Lists/TaxonomyHiddenList/AllItems.aspx list for id's, but ...
0
votes
1answer
61 views

Timer job triggering based on Created Field in Task list

I have the below scenario 1) I have a Master Task list and Task list. 2) When the user Adds a Task in Master Task list then the same task should be added next month same date. For example If i have ...
0
votes
3answers
598 views

Timer job for copying list items

How can I achive copying list items through timer job? I tried the below code with no success. .cs file using System; using System.Collections.Generic; using System.Linq; ...
0
votes
1answer
93 views

Expiration Timer Job only does half the job

I have been testing expiration policies on a library. I put in about 2 dozen documents and then run the expiration timer job in CA. What I notice is that only half of the documents get processed. ...
0
votes
2answers
1k views

Prevent SharePoint 2010 custom timer job to run on all web application

I have successfully created the custom timer job to send status mails on daily basis. For testing I set the minute scheduler on the job and deployed as Web Application Scope. The timer job is running ...
0
votes
2answers
514 views

Workflow Timer Interval

Can I change Workflow Timer Interval value from default "every 5 minutes" to "every minutes" without impact to performace? Thanks for supprt, Best regards
0
votes
1answer
40 views

how to configure a timer job to run in specific servers?

If I have a big environment with 100,000 users, I am planning to split the servers for WFE, Application Servers and Batch Processing. I wonder if there is an specific way to enable/install specific ...
0
votes
1answer
199 views

TimerJob editing workflow and web config - Consuming external webservice

I have a list that is attached to a workflow (State machine, VS2010, SP2010). There is an OnWorkflowItemChanged activity that will check if a column of the list has been changed. If it changed, it ...
0
votes
1answer
65 views

for update record using sharepoint 2010 Timer job

i want to know that how to update record in MS sql server 2012 using SharePoint 2010 Timer job.Or how to call MS Sqlserver procedure using sharePoint timer job every hours. Please help me any ...
0
votes
2answers
369 views

make sptimerjob run on correct list

I followed the code example at How to: Create a Web Application-Scoped Timer Job. It creates a timer job that runs on a list in the root of the web application. However, I need to make the timer job ...
1
vote
1answer
138 views

How do to update custom SPTimerjob?

I have created & deployed a custom Jobdefinition via feature activation. During feature deactivation I use... Foreach(SPJobDefinition job in WebApp.JobDefinitions){ ...
1
vote
2answers
102 views

Value retain when redeploy of SharePoint Timer Job

I have a very simple question on SharePoint 2010 Timer Job, I build by reference from here. Basically upon execute of the Timer Job, I add an entry to SharePoint Custom List as following: public ...
0
votes
0answers
1k views

SharePoint 2010 Workflow stuck in starting status?

We have a SP 2010 workflow on a Document Library which sends an email notification out to certain users when a property is changed for a document. This workflow was working fine up until 2 weeks ago ...
1
vote
0answers
453 views

New-SPSite gives ERROR: Failed to OpenThreadToken, LastError=1008 in Timer job

I have a timer job that is running some powershell. The script creates a content database and then attempts to create a site collection. If run from powershell prompt the script works fine. If I ...
1
vote
1answer
99 views

Solution's deployment status failed

Last I night I was trying to deploy a custom timer job on production servers, I added solution easily using STSADM, but when I tried to deploy it using CA it returned with deployment status as Failed. ...
2
votes
2answers
429 views

Unable to update list item - Additions to this web site have been blocked

I am developing a SharePoint job. In the public override void Execute(Guid targetInstanceId) method, my code goes: SPSecurity.RunWithElevatedPrivileges(delegate() { int count = ...
0
votes
2answers
164 views

Problem Timer job unknown error

I'm having a problem to reach a specific SPlist in my sitecollection. The timerjob is supposed to read all items from a SPlist I've choseed and send them to a user through mail. I'm not sure if it's ...
0
votes
1answer
165 views

SharePoint Farm feature not deploying to all members

I have a SharePoint 2010 farm solution (with some timer jobs tied to SPTimerV4 and a LockType of None) that is not deploying it's GAC'ed DLL to all servers in the farm. This timer job must run on ...
3
votes
2answers
409 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 ...
1
vote
1answer
388 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: ...
2
votes
2answers
721 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 ...
1
vote
0answers
93 views

Sharepoint Workflows in background

I'm just curious, I was reading an article here, and in the third paragraph it states "If you didn’t know, there are quite a few workflows that run in the background all the time. " I was just ...
0
votes
1answer
214 views

SharePoint 2010 send email

I have a timer job that will get ListItem based on some criteria. After I gathered all the items, I will send an email based on the Modified column and cc that email based on the Created By column. ...
0
votes
1answer
186 views

WSS 3.0 - Running Timer Jobs Manually

I am trying to troubleshoot why my timer job is not working in WSS 3.0. Is there anyway to run a timer job manually in WSS 3.0?
0
votes
0answers
97 views

Why Sharepoint Timer Service is making Pc slow?

Currently Sharepoint Timer Service is stopped in my Pc and the Pc is running perfectly but when i start Sharepoint Timer Service at the time of Development, at that time it is making my Pc very slow ...
1
vote
0answers
216 views

Variation Subsites Not Created - all timers finish in 00:00:00

Part 1: Variations Create Hierarchies Job Definition successfully creates the source & target labels. After that no subsites are created on the target labels nor any target pages. I've created ...