Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [custom-timer-job]

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.

0
votes
1answer
23 views

Can I use Entity Framework Core in a SharePoint Timer Job?

I have a timer job where I need to update some information in a database. The DbContext is implemented in an external assembly, using EFCore. When I run the timer job, I get the following exception: ...
0
votes
0answers
9 views

ViewsLifeTime is not updating instantly?

I got a counter to show how many visitors visit the page in my site. Users are visiting the website , but there is no change on the counter. It is the same like no one clicked it. Has it got a timer ...
1
vote
3answers
61 views

Sharepoint 2013 timerjob choose server

is it possible to specify the server on which to run timer-job? Write in code or when deployed. I want to run on one app server.
1
vote
2answers
33 views

Can I create 2 versions of timer job from 1 solution and deploy them to Sharepoint 2013?

I have created a timer job and deployed to Sharepoint 2013 called "Timerjob Employee" is it possible to modify my existing solution so I can create another timer job called "Timerjob Manager" (with ...
1
vote
1answer
153 views

Timer job failing with error

Timer job suddnely started failing with below error Site Enumeration Stack: at Microsoft.SharePoint.Administration.SPSiteCollection.get_Item(Int32 index) at OTIS.AR.EmailTimerJob.EmailTimerJob....
0
votes
1answer
134 views

How can we create timer job for SharePoint hosted apps?

"It is possible to create timer job for a SharePoint hosted app ". If yes then I need detail information how we can achieve this.
0
votes
1answer
741 views

Custom Timer Job not running on SharePoint 2013

All of the custom timer jobs are not running without showing any error/correlation IDs. Below is the only stack I could see from ULS logs even after enabling verbose - no error/failures/exceptions are ...
0
votes
2answers
481 views

SPList workflowassociations is empty

I have a documents list on sharepoint 2013 associated with a simpel sharepoint designer workflow. I am able to start the workflow on the list items from a timerjob using csom code. But when trying to ...
0
votes
1answer
62 views

How to trigger a 2010 workflow on all existing list items OR use Powershell instead to copy data?

I have a SP 2013 list with 100 existing items. I have full SP Admin rights. There is a simple 'copy item' workflow which copies data from the source list to the destination list - both list have ...
1
vote
0answers
76 views

Sharepoint Timerjobs running on wrong Server

we are facing the problem, that our custom timerjobs are running on the "wrong" servers in the farm. In our case, the jobs are running on our crawl servers but the solution is only deployed on front ...
5
votes
2answers
1k views

Run Timer Job on a specific Web Application

I have a custom timer job in which the scope of the timer job is "Web Application", which is defined in feature of timer job. Now When i have deployed the timer-job it runs for all the web ...
3
votes
1answer
520 views

The Feature is not a Farm Level Feature and is not found in a Site level defined by the Url

In my web application level feature, its activated, but unable to see teh timer job in the timerjob definitions, in monitoring so i went with activating feature with powershell, receiving this error: ...
3
votes
1answer
502 views

Timer Jobs are running TWICE in pre-prod environment

am facing an issue in the timer jobs of my sp farm. From last 2 days, my env. timer jobs are running TWICE. Irrespective of whether its default- OOTB timer jobs or my custom timer jobs, all are ...
1
vote
0answers
174 views

SharePoint 2013 timer job run on development server but not on production server of client

I have developed a custom timer job for SharePoint 2013 in visual studio 2015 which update. The issue is that it works fine on the development server. I have followed the following steps to debug it ...
1
vote
2answers
419 views

Error in Deploying/Activating timerjob wsp feature in server farm env. How to deactivate the features from all web applications

I have created a custom timer job in my SP 2013 SP1 on-prem env. when i tried to re-install/ update the wsp using powershell, am getting error: A feature with ID 15/ab47de69-4189-41d5-a8a8-...
3
votes
2answers
108 views

Timer Job bi weekly

can someone help me please to set the schedule of the timer job biweekly, present we are running our custom timer job every Sunday 2 am, I want to schedule the timer job run once in two weeks.
1
vote
1answer
713 views

Problem with timer jobs not being scheduled

I had setup a new 2 server SP 2016 Farm and was having a problem with most of the Timer Jobs (to include my custom timer jobs) not being scheduled and showing "N/A" for their last run time. I had ...
1
vote
0answers
63 views

Custom Timer Job NOT running when i run from UI but it perfectly run when I debugged

I created custom timer job in my dev.environment. It is medium complex one that targets multiple lists and documents libraries and at last, it will apply item level permissions for a matching list ...
0
votes
1answer
10 views

Calculating time of custom timer job execution in SP 2013

I have written a custom timer job for prOcessing few number of doc libs and few splists in my site collection and apply item level permissions for the items matching some criteria through CAML query. ...
1
vote
1answer
22 views

Auto Scan at set intervals and populate SharePoint 2010 List

Hi can anyone Help me! I want something that I am able to select a different SharePoint List every week. within that list select the columns that apply (Monday to Friday or just monday), I then need ...
0
votes
1answer
374 views

Unable to Delete/Remove the Custom Timer Job from SharePoint

am trying to delete the custom timer job I have created in my SP 2013 on-prem.env. I used the powershell to do the same,but its not getting deleted/removed from the central admin. I tried with ...
0
votes
1answer
153 views

Invoking a Custom SharePoint Timer Job from a Console Application

I want to invoke a custom SPTimer Job from a console appln. The reason is since SPTimer job cant be scheduled at regular intervals like every 4 hrs gap, the timer job needs to run, I have come up ...
1
vote
2answers
188 views

Custom Timer Job is not appearing in the JobDefinitions Page in CA

I am trying to implement a custom timer job in my SP 2013 on-premises appln. I have created the same. But the timer job is not appearing in the timer job definitions page. I have activated and ...
1
vote
1answer
62 views

Split a timer job based on content database

Background: Currently in our SP Farm there is one custom timer job 'X' we developed and scheduled at the web application level (using SPAllSitesJobDefinition as base class and override the ProcessSite ...
1
vote
2answers
407 views

Can Timer Jobs Be Used With SharePoint Online? (O365)

I've watched some tutorials on creating timer jobs and they seem to use serverside code, which from what I understand cannot be used with SharePoint online hosted on a Microsoft Server. Is there any ...
1
vote
1answer
4k views

Does restarting the SharePoint Timer Service have any negative impact on scheduled or running jobs?

I have a custom SharePoint job that I created. When I make updates to it, I restart the timer service programmatically to make sure that older, cached copy of DLLs are not used. However, this design ...
0
votes
1answer
404 views

SharePoint Online - Automate a weekly file copy in SharePoint

I am currently working on SharePoint Online and the requirement is to copy a particular document from one document library to another document library. This copy has to be scheduled every week on a ...
1
vote
0answers
92 views

Sharepoint 2010 Timer job works only manually

I have 2 Sharepoint timer job, in production environment, (WFE server and Application server) that read files from a server folder and make different treatments of the files. The timer job 1: daily, ...
0
votes
1answer
1k views

How to create SharePoint Sub-Folders programmatically?

I want to refer to this question which shows how to create first-level folders: SharePoint Question But I also need to know how to create Sub-Folders e.g. a Sub-Folder inside a List. Does anyone ...
3
votes
2answers
2k views

How to create SharePoint Folders programmatically?

How can I create a folder in SharePoint 2013 programmatically? This is how I done the creation of a List. Is it possible to do it with folders? public static SPList GetOrCreateList(ref SPWeb web,...
0
votes
3answers
1k views

custom timer job is running multiple times in SharePoint 2013

I have created a Web application scoped timer job in SharePoint 2013. This timer job is supposed to be running only once in a month , and should send an email only once . The problem i am facing is ...
2
votes
0answers
243 views

custom timer job issue

I created timer job in dev environment. It is simple one that targets list items and sends communication. It works fine in dev. Before moving it to the other farm I changed all hardcoded url's to ...
1
vote
0answers
418 views

How to set time schedule programatically in timer jobs using sharepoint 2013(Farm solution)

I am trying to create one timer job in SharePoint 2013 Now I want to set 1 minute in timer job using event receiver after deploy timer job in farm solution. Now timer jobs run perfectly but its run ...
1
vote
1answer
114 views

Timer job move to different farm

I have created timer job as per the article How to Create Timer Job in SharePoint 2013. It is running fine in site collection in dev environment. What are the steps to move it from dev to ...
0
votes
1answer
75 views

Deploying Dll to sharepoint sharepoint site throwing exception

I was created a Two Project in one solution One for feature activation and anthor one is for TimerJob. Manually i deployed the solution or If i take a wsp and put it in patch this two solution was ...
0
votes
1answer
89 views

SharePoint Online - Remote Timer Job 401 Unauthorized

I'm trying to create a timer job to run against my SharePoint Online tenant. I have been following this video on Channel9. I believe I have everything set up correctly, however when it gets to ...
0
votes
1answer
174 views

Can I run the same timer job with different parameters?

I have a SharePoint farm with many site collections. I wish to do some cleanup processing to a subset of those site collections; let's say 10 site collections. The cleanup functionality is exactly the ...
1
vote
2answers
43 views

O365 SharePoint requirements for a timer job solution

I would like to build a solution for SharePoint online. The solution should be able to automatically fire workflows. Is it possible to deploy such a solution on O365? Do you need Microsoft Azure for ...
0
votes
1answer
41 views

SharePoint Custom Timer Job

I have a requirement to create a multiple timer job within a single feature. I have created the SharePoint Timer Job with the reference of this site http://www.codeproject.com/Tips/634208/Create-and-...
0
votes
1answer
289 views

Timer Job is missing under Job Definitions

Let me explain clear scenario here, actually timer job was showing under job definitions and was working fine but problem raised when i tried to redeploy the updated solution. First I uninstalled and ...
1
vote
2answers
306 views

Custom timer job not sending mail in one environment

My timer job is sending emails perfectly in local machine where I have developed it based on a configuration list. When I moved it to the Development environment(No Visual Studio), It is not sending ...
1
vote
2answers
102 views

Quarterly Timer job

I am creating a timer job that sends mail on 1 day of every quarter of a year. I have written the code. Only I have to add code to schedule it. Please help me.
2
votes
2answers
261 views

SharePoint 2013 - Custom Timer Job prevent concurrent instances

I have a timer job that runs every minute. The timer job needs to do some processing and it may take more than a minute. I don't want the job to get triggered if previous instance is still running. ...
0
votes
1answer
860 views

Sharepoint 2010 workflow “Pause until date” Versus Defining a timer job

I am working on SharePoint 2013 list. and i want to send emails and change the item status field, when a list column named "Review Date" is met , and by "met" i mean when the "Review Date" is equal to ...
1
vote
1answer
1k views

Setting a TimerJob Property via Powershell

I am currently adding a Property to my Timerjob in FeatureActivated via C#. This is my code. public override void FeatureActivated(SPFeatureReceiverProperties properties) { ...
0
votes
1answer
326 views

create timer job to send mail based on the end date

I need to create a timerjob which should send/trigger mail to manager 2 days before end date as a reminder class CustomTimerJob : SPJobDefinition { public CustomTimerJob() : base() ...
1
vote
1answer
499 views

Create a timer job definition that queries a list and sends a reminder email daily

I am working in SharePoint 2013 and have a requirement to create a timer job that will keep sending notifications to users in a recursive manner. I have referred this article which describes the ...
0
votes
1answer
119 views

How to programmatically start a TimerJob?

i have created a TimerJob which can be configured in the central administration how it should run (daily, weekly, etc). But now i have a additional requirement that a user should be able to start the ...
0
votes
2answers
361 views

Is it possible to run timer job on button click event?

I want to know whether it is possible to run SharePoint Timer Job on button click event.
0
votes
0answers
30 views

SP 2013 : bind timer execute to Execute method

I prepared in Visual studio 2012 WSP farm solution deployed to SP 2013. WSP package contains feature with Timer job. After install, deployment, activating features via Powershell I can see my Timer ...