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
2
votes
1 answer

SharePoint 2007 - Current Timer jobs?

How to find the currently running SharePoint 2007 Timer jobs using STSADM?
One Developer
  • 99
  • 5
  • 43
  • 103
2
votes
3 answers

Sharepoint 2013 Custom Timer Job running on development server but not on production server

I have developed a custom timer job for SharePoint 2013 in visual studio 2012 which sends email notifications. The issue is that it works fine on development server. I have followed the following steps to debug it on the development server 1.)…
2
votes
1 answer

SharePoint: Timerjobs Lock Type

I am trying to create a timer job in WSS 3.0. My timer job would create the object of SPsite then SPWeb and then SPDocumentLibrary (or possibly picture library)using their GUIDs stored in any xml or database.After that it would take the back up of…
Anoop
  • 5,246
  • 6
  • 27
  • 29
2
votes
1 answer

TimerJob development, what does the EndSecond property of a SPMinuteSchedule mean

I'm currently developing on a project which uses some TimerJobs. One of the jobs should check the MySites of some special users about every 2 minutes. So I create a SPMinuteSchedule object and set the BeginSecond property to 0 and the Interval…
Flo
  • 27,355
  • 15
  • 87
  • 125
1
vote
1 answer

SharePoint Timer Job - Exception adding aspnet_users to security groups

I have created a custom timer job in share point 2007 which gets the list of email ids from the database and has to add it to security groups in share point. I am getting exception "user not found" when i try to verify the user using…
1
vote
2 answers

SharePoint Timer Job - Use Html Template from server

I want to use HTML template in Timer Job. My timer job is to send email. I have the list of email address for To: List but I cannot access HTML template from the server. I cannot use Server.MapPath("Somepath\\test.htm") Because its not a Http…
nirav
  • 373
  • 3
  • 7
  • 20
1
vote
1 answer

SharePoint. How to run timerjob every 90 minutes

I have a web.config setting like IntervalInMinutes. I would like to use the setting value to create my SPSchedule instance and run my job. The interval should be set in minutes. I know how to use SPMinuteSchedule and run the job every 0 < n < 60…
Antipod
  • 1,593
  • 3
  • 23
  • 43
1
vote
2 answers

'Activate feature' step error :Object Reference not set to an instance of an object

I created a custom timer job and implemented it through a feature event in sharepoint. when i tried to activate it, its showing this particular error: Object reference not set to an instance of an object. at…
Thomas Mathew
  • 1,151
  • 6
  • 15
  • 30
1
vote
1 answer

Best way to send batch invitation emails

Currently in our application admin of a company invite multiple users to system. Our design is: take admin chosen separated email addresses, check user if exist and member of current company do nothing. if exist but not member of current company do…
gandil
  • 5,398
  • 5
  • 24
  • 46
1
vote
2 answers

Implementing a timer on server for jobs?

I am currently working on a bidding system for a university project. A user can create an auction. The user has to enter the many info concerning the auction including starting time and ending time. But how to know when the auction has end. I am…
Noor
  • 19,638
  • 38
  • 136
  • 254
1
vote
0 answers

Ensure that long running SharePoint timer-job cannot start while previous instance is still running

What is the best practice to ensure that a SharePoint timer job runs only once? Using SPJobLockType.Job ensures that it is only started on one machine. But how do I prevent a new instance from being started while a previous instance is still…
1
vote
2 answers

SharePoint 2016 some Timer Jobs run time n/a

I'm helpless... Since couple of weeks looking for a solution. Some TimerJobs (system jobs and custom) in my migrated SharePoint farm won't be executed. Migrated from 2010, over 2013 to 2016. Last run time is: N/A or via powershell 01.01.0001…
Tim
  • 33
  • 4
1
vote
2 answers

Returning timer job status from custom timer job

There is a timer job status page in Central Admin /_admin/ServiceRunningJobs.aspx How can I properly return the status for my custom timer job ? The Execute() method of timer job returns void.
Madhur Ahuja
  • 22,211
  • 14
  • 71
  • 124
1
vote
1 answer

Pass Parameters to SharePoint 2013 Timer Job

I would like to run a timer job with parameters from the UI. But how can I pass parameters from the UI if I can only press "Run now" in Timer Job Monitoring? Or where can I pass them? I can not find any possibility to insert a string or number to…
Snickbrack
  • 1,253
  • 4
  • 21
  • 56
1
vote
2 answers

Workflow Auto Cleanup timer job does not run

I am testing a couple of workflows for their workflow history cleanup time intervals. The workflow History needs to be retained for a specific number of days. I have implemented the solutions recommended here My problem is that, now I need to test…
ashwnacharya
  • 14,601
  • 23
  • 89
  • 112