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

12
votes
1answer
944 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 ...
9
votes
5answers
3k 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?
6
votes
2answers
5k 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 ...
3
votes
2answers
834 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(); ...
3
votes
1answer
3k 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 ...
3
votes
1answer
587 views

How do you decide the scope of a feature when creating timer job?

We are using SharePoint 2013 and have task of creating timer jobs which run everyday, with functionality like sending out emails based on due dates of list items, adding items to list, changing values ...
2
votes
1answer
918 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 = ...
2
votes
3answers
1k views

Problem Activating Custom Timer Job

Right now I'm trying to create a SharePoint 2010 Custom Timer Job in Visual Basic 2010, which doesn't want to register itself in the SharePoint Timer (it appears to add ok and everything, but doesn't ...
2
votes
2answers
171 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" ...
2
votes
1answer
177 views

Office 365 use Visual Studio for Event Receiver or Timer Job

I'm using Office 365 small and want to know if I can use Visual Studio for Event Receiver or Timer Job?
2
votes
1answer
287 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 ...
2
votes
2answers
780 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 = ...
2
votes
4answers
4k views

Custom Timer Job/Solution Deployment Problems

I have a single solution that consists of the following: Custom Timer Job (WebApplication scoped) Custom Content Type and List (Web scoped) Custom Logging Area (Web scoped) These features are set ...
2
votes
3answers
209 views

Custom TimerJob SQL Access?

Im trying to access an SQL database from a custom TimerJob, but it fails. Without hitting the Exception, it just stops. I got the exact line where it get stuck: SqlDataReader sqlReader = ...
2
votes
1answer
23 views

migrate timer job from sharepoint 2007 to 2010

is it possible to migrate a custom timer job from SharePoint 2007 to 2010? is so,please let me know what points should i keep in mind before & after proceeding.
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 ...
2
votes
2answers
582 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 ...
1
vote
2answers
113 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 ...
1
vote
3answers
5k 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 { ...
1
vote
2answers
32 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
658 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
553 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
1answer
20 views

How to change the Custom Timer Job's title after initial deployment

I created a SharePoint Custom Timer Job in Visual Studio 2012 following the steps given in this article by Ravi Rachchh. It works fine. However, I wanted to change the Title of the Timer Job. So I ...
1
vote
1answer
161 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
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
440 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
3answers
293 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 ...
1
vote
2answers
60 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' ...
1
vote
1answer
1k 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
1answer
184 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
366 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 ...
1
vote
2answers
675 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 ...
1
vote
1answer
44 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
39 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
93 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
25 views

Datetime AfterProperties value changed on save

I have written an EventRechiver that results in some strange behavior. I reacths to an Item beeing added to a list. This is done by both users trough UI and by a timer job. The ER sets some custom ...
1
vote
1answer
175 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 ...
1
vote
1answer
200 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
1answer
755 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
144 views

Not able to figure out the meaning of the error in the LOG file

I am getting the following error when I try to deploy my custom timer job. " Cannot synchronize profile property languages until the ProfileDB is upgraded for UserProfileApplication 'User Profile ...
1
vote
2answers
343 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
127 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 ...
0
votes
3answers
2k 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 ...
0
votes
2answers
2k 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
1answer
2k views

Unable to locate the successfully deployed custom timer job

I have successfully deployed my timer job and it appears in the Central Admin but I cannot find it in Job Definitions or Running Jobs either in the Monitoring option of Central Admin. What could be ...
0
votes
2answers
919 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 ...
0
votes
1answer
34 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 ...
0
votes
3answers
416 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 ...
0
votes
1answer
19 views

Can possible Timer job in office365 Using NAPA tool?

I Heard about timer job in office-365 using Azure,But Can We Create timer job using NAPA tool... any buddy knows Please help Thank you
0
votes
2answers
19 views

How to retrieve TimerJob Schedule Configuration via code c#

I need retrieve via code, what's the schedule configuration of a Timerjob. Exe: for a Timerjob scheduled weekly, to get the value "weekly".