Questions tagged [timer-jobs]

Timer Jobs are recurring background processes that are managed by a Scheduler. A timer job would consist of three parts: Timer Job Definitions, Timer Job Instances, and Timer Job Schedules.

Timer Jobs are recurring background processes that are managed by a

A timer job would consist of three parts: Timer Job Definitions, Timer Job Instances, and Timer Job Schedules.

118 questions
1
vote
2 answers

Execute a TimerJob from an event receiver handling list item changing

I have an Event Receiver that is attached to some change in a item list. This event receiver does things that consumes a lot of procedure. I want to run it under the process OWSTIMER.EXE and not W3WP.EXE, it seems that in Sharepoint 2013 the events…
Tupac
  • 647
  • 12
  • 37
1
vote
2 answers

JobDefinitions for Timer Jobs in SharePoint

I've hit an issue with creating a timer job on demand from within an event handler. It works fine on my dev machine where the user is also the farm administrator. On the staging server (and production too), this user will be different. Apparently it…
Graeme
  • 1,657
  • 5
  • 28
  • 46
1
vote
4 answers

How to create Timer Service using Java, Netbeans, and Glassfish

I want to have a method run every day at 3am that will summarize a production database and insert into another database. I've seen examples of the Timer services with Java but I'm not sure that is what I am looking for. I want the program to execute…
Sam Orozco
  • 1,258
  • 1
  • 13
  • 27
1
vote
1 answer

error While Creating custom timer job

I am creating the custom timer job, but getting error as Object reference not set to an instance of an object. below is my code....can any one help on this...this code is for removing items from list using System; using…
1
vote
1 answer

When deleting timer job it throws error 'Object reference not set to an instance of an object'

I have created a timer job with following code: namespace EmployeeDemo { class DeleteEmployees : SPJobDefinition { public DeleteEmployees() : base() { } public DeleteEmployees(string jobName, SPWebApplication webapp) …
Naveen
  • 6,786
  • 10
  • 37
  • 85
1
vote
3 answers

Timer in a Windows service - not really working?

I have a Windows NT Service in C# which basically wakes up every x seconds, checks to see if any mail notifications need to be sent out, and then goes back to sleep. It looks something like this (the Timer class is from the System.Threading…
marc_s
  • 732,580
  • 175
  • 1,330
  • 1,459
1
vote
2 answers

WCF, Timer Jobs, Web Service which is better?

I am working with a Web application, based on Asp.Net 3.5 and WSS 3.0 platform. Recenlty i've got a task as follows. Import bank statement using FTX - Desktop application and parse those statements into database in every 24 hours ie. i need to…
1
vote
1 answer

User-based settings for Custom Timer Job in Sharepoint

I'm trying to create a custom timer job in Sharepoint. The job will send an e-mail message to the users that subscribed. I want to make a settings page for users, so they can change their own preferences for the digest service. For example, how…
frbry
  • 499
  • 2
  • 12
  • 25
1
vote
1 answer

Referencing Url of Current Web in Sharepoint for timer Jobs

Which is the best way to reference current site/web in sharepoint specially for Timer Jobs from the examples given below and why? Example1: SPWebApplication webApp = this.Parent as SPWebApplication; SPWeb oWeb =…
luckydeveloper
  • 300
  • 2
  • 16
1
vote
2 answers

How to implement timer expire function in sysfs of driver.?

Scenario: Suppose if I am doing echo 1 > sysfs_entry - It will start doing some I/O operation until I do echo 0 > sysfs_entry. Here, I wanted to implement timer in sysfs_entry so that it should stop I/O operation after t seconds , even if I do not…
kzs
  • 1,793
  • 3
  • 24
  • 44
1
vote
1 answer

SharePoint Timer Job not working properly when run on schedule but fine when running manually

I've got a SharePoint timer job that takes a document library and puts the documents, converts them to PDF and puts them into a SQL server every night. Problem is, the timer job doesn't seem to work when it's called on the schedule. If I install it…
Daniel Revell
  • 8,338
  • 14
  • 57
  • 95
1
vote
2 answers

Unable to read from XML file in a SharePoint Timer Job

I have a custom timer job which should read some data from an XML file and save it in a word file. I tested this code in a simple web part and it works perfectly fine. However it is not working with custom timer job. Here is the code - public…
Prashant
  • 118
  • 6
1
vote
1 answer

Sharepoint Timer Job and log4net

I'm developing a custom SharePoint solution which consist of a feature and a timer job (which is created by the feature in FeatureActivated). In my solution I want to use log4net for logging (I know about ULS). Everything is fine with log4net in…
Anton Polyakov
  • 331
  • 3
  • 13
1
vote
1 answer

Sharepoint Timer Jobs

Is there a way to adjust the schedule of a Sharepoint timer job? The only options I'm seeing in central admin is the option to enable/disable the job and a way to change the job name. Are there some kind of permissions that I need to actually…
Joe
  • 5,389
  • 7
  • 41
  • 63
1
vote
1 answer

server-relative List URL is not working (strange characters in link)

I have some strange issue with server object model... I am creating timerjob, its has to just run item.update() function and rest of work is done by event receiver. server url - demo2010a:2010 sitecolletion url -…
Sebastian 506563
  • 6,980
  • 3
  • 31
  • 56