0
votes
0answers
18 views

Timer Job not getting updated on deployment

I have a timer job. When I make any changes in it and deploy, it is not taking the updated changes. I referred to many links which told me to change the assembly version and redeploy the timer ...
0
votes
1answer
40 views

timer job not applicable ignoring job definition

We have created custom timer job in share point 2010.but we are getting error job definition "job name", id ed6b4720-67c3-4bbc-aa46-e98a2aa67202 not applicable, ignoring We are unable to find out ...
0
votes
2answers
28 views

Periodically trigger a workflow

Here's the situation. I have a list/content type with a column called "frequency". Based on the item's frequency value, a workflow should be triggered automatically every day / month / year. This ...
3
votes
1answer
47 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 ...
1
vote
1answer
84 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 ...
0
votes
2answers
51 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
458 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
58 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 ...
0
votes
1answer
186 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" ...
0
votes
2answers
729 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
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 ...
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
154 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 ...
1
vote
2answers
202 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
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
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
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
139 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 ...
2
votes
2answers
432 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
390 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: ...
0
votes
0answers
206 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
1answer
507 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
3answers
3k 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
1answer
145 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
1k views

Object reference not set to an instance of an object when Updating a Timer JOB?

This is really weird. The exception is thrown in the FeatureActivated event exactly in the line job.Update(). There is no way to debug any further because that method is from the framework. Maybe I ...
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 ...