A third party timer job designed to accomplish a specific purpose, which represents a built-in SharePoint object structure that can perform various tasks within the SharePoint environment on a scheduled or on a one-time event basis.

learn more… | top users | synonyms

0
votes
1answer
10 views

How to programatically get a link to custom timer job settings?

I have created a custom timer job and deployed it to all web applications. In a custom central administration application page, I would like to show links to this timer job (e.g. 2 links if there are ...
6
votes
5answers
146 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?
0
votes
0answers
37 views

SP2010 Timer Jobs Scheduled on multiple WFE

At some point within the past 24 hours we've experienced timer jobs now being scheduled to run on both WFEs per execution cycle. None of these jobs have been modified recently; most haven't been ...
2
votes
1answer
110 views

Exception when getting the value of field in SPListItem

Hi Guys I have this problem: I query a list using Caml. items = list.GetItems(query); This returns 6 items and works ok. Then I do: foreach (SPListItem item in items) { var title = ...
1
vote
1answer
33 views

User loses permissions to list item temporarily

I have a huge list with articles (shop with 6000 articles) and there is a timerjob that runs like every 3 hours that updates the stock on all the articles based on the stock returned from an external ...
2
votes
1answer
53 views

Is it possible to deploy SP 2010 Timer Job to SP 2013 farm?

Within a 2010 farm I've got a custom timer job. The timer job is installed/activated via web application feature. Now I need to provide the timer job's functionality/results to site collections ...
4
votes
2answers
143 views

How to return all user profiles

I need to query the entire user profile store and do multiple operations such as filtering based on one user profile property, sorting by another, and grouping on yet another. Is this possible using ...
0
votes
3answers
109 views

Custom Timer job does not show up under Job Definitions when installed via PowerShell

We have created a custom timer job in VS2012 farm project. The scope is set to Site level and the project is deployed at GAC. Using VS2012, we can deploy the project and see it come up in the Job ...
1
vote
2answers
148 views

SPMinuteSchedule - can it run longer than 1 minute?

I created Timer Job, and create definition on Feature Activated. I have question about schedule. If I use Minute Schedule like this: SPMinuteSchedule schedule = new SPMinuteSchedule(); ...
0
votes
1answer
112 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 ...
0
votes
3answers
97 views

Custom Sharepoint 2010 Timerjob is starting again after it is finished!

I have created a custom timerjob in visual studio. I have deployed this timerjob on my sharepoint 2010 portal. It is scheduled every night at 02:00 a clock. When I start this timerjob manual from ...
0
votes
1answer
96 views

Timer Job cannot delete an item (with error “item does not exist”), but console app can

I have a list based on a calendar in SharePoint 2010 and I periodically run a timer job to archive items to another location, deleting them from the list. Most of the time this works just fine, but ...
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" ...
0
votes
2answers
364 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
60 views

Export ListItem Attachments via Linq

I am punching up a JobDefintion for backing up list data, which is too old into a dedicated database for archiving purposes (with a dedicated WebPages UI to browse it). In general the workflow is as ...
0
votes
2answers
136 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 ...
2
votes
1answer
839 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
129 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 ...
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 ...
0
votes
1answer
104 views

What's the right way to get an SPWebApplication reference in WebApplication scoped custom timer job?

I have created a custom timer job. I deploy it with a feature that has a WebApplication scope. The Execute() method in my job definition class keeps throwing errors. I'm trying to get a reference ...
1
vote
2answers
150 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
109 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
1answer
43 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
422 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
31 views

Is it possible to test if command is triggered by SharePoint UI or Powershell

I have a custom job definition for which I have created a Description override. I want it to have correct formatting when called via Central administration UI and when seen using Powershell. Does ...
-1
votes
2answers
40 views

Timer job fails while trying to data [closed]

I'm fetching data from a excel file and creating sharepoint groups for each entry. There are around 10000 entries for which i need to create sharepoint groups I created a SharePoint custom timer job ...
0
votes
2answers
293 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
117 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
95 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
1answer
412 views

Get rid of a TimerJob/Feature which throws an exception

I created a TimerJob which is activated upon Feature activation. Because I didn't know better, I forgot to add an public default constructor and now I always get this exception: "Error occurred in ...
2
votes
2answers
322 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 = ...
1
vote
1answer
294 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
212 views

TimerJobs and ULS

I have developed a custom Timer Job, which is deployed to my Sharepoint 2010 Enterprise environment. I often notice that things that happen in the TimerJob will not be entered into the ULS, in the ...
1
vote
3answers
206 views

A custom timer job to show a client side coded popup monthly

In my current project, I have been told to design a custom timer job which will run once a month and display a popup(which I'm planning to show as a modal dialog coded in jQuery). On clicking the ...
0
votes
0answers
187 views

Custom Timer Job does not execute on production server

I have a custom job. It works fine on staging server, after moving to production it is not working. It shows in Central Administration "Job Definitions" I can open it and click "Run now" but it has no ...
2
votes
1answer
31 views

Users get subscribed to the same list more than once

I have developed a timerjob for MOSS 2007 which loops through a variety of subsites and then loops through all users on each site. Code can be seen here The issue at hand is that some of the users ...
1
vote
2answers
57 views

Custom timerjob uses different value then what query is set to

Part of my timerjob does DateTime week = DateTime.Now.AddDays(-7); SPQuery mQuery = new SPQuery(); mQuery.Query = "<Where><Gt><FieldRef Name='myDay' /><Value Type='DateTime' ...
9
votes
1answer
514 views

Custom Timer Job does not Execute

I have a custom timer job that loads items into a generic list. The timer job is not executing. The timer job is deployed and the feature is activated. I can see the Timer job in the Job Definitions ...
1
vote
1answer
381 views

Timer Job - targets to specific application server

Below is our server topology 3 WFEs 2 App Servers 1 DB server Now, I would like to write a custom timer job that should run only on the specific application server("APP1"). SPJobdefinition does not ...
1
vote
1answer
676 views

Access service context in timer job

I have custom claims provider which uses user profile service to get some data when resolving claims for user. I'm creating UserProfileManager this way: private UserProfileManager UserProfileManager ...
1
vote
3answers
2k views

“Access Denied” while Activating Custom Timer Job

When i tried to Activate Feature of Timer Job It returns error : Access Denied Scope of Feature is "Site".. private static void CreateJob(SPSite site) { try { ...
0
votes
2answers
1k views

Custom job and System.Security.SecurityException: Access Denied

I have a custom job that I'm executing from a Web Part. MySPJobDefinition myJob = new SPJobDefinition(SPContext.Current.Site.WebApplication, myParameters...); //works myJob.Execute(Guid.Empty); ...
0
votes
0answers
385 views

Custom job and site enumeration error

I have a WebPart where I'm executing a custom job. For most users it works fine but for some not, and in log I can see such an entry: site enumeration stack at ...
0
votes
1answer
33 views

Trouble with redeploying Timer jobs during development

i have a project containing 1 timer job and 1SPpersistedObject. when i deploy the project for the first time it works fine and i debug the correct code. i then made a change and now it is debugging ...
1
vote
1answer
136 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 ...
0
votes
1answer
219 views

Copy an Item from one list to another list using custom timer job Creation?

How can i copy an item from one list to another list,I want to archive this item after 365 days of modified date of any item in the list.this i have to be do with Custom Timer job. can you please ...
1
vote
1answer
214 views

Custom Timer Job for SharePoint 2007 using Visual Studio installed in separate system

I need to create one custom job for SharePoint 2007. But the harden is that is on another server while i need to develop that on my system using visual studio 2010. I have dll of SharePoint 2007 to ...
0
votes
2answers
500 views

EnsureUser not working in Job

Background: sharepoint 2010 custom membership provider custom job to create users Job is deployed by code and executed first time from some WinForms exe, executed by local Administrator. Users are ...
0
votes
1answer
49 views

Resetting Major Versions on All Lists and Libraries

I've been tasked to help enforce our governance to set the Major version limit on all lists that have versioning enabled. I'm thinking of using a TimerJob to accomplish this. However, I've been ...
2
votes
2answers
506 views

Custom timer job email problem

We have a daily custom timer job that emails a newsletter. Recently newsletters have not been sent and the timer job status has been stuck on "initialized 0%" I have cleared the cache as described in ...