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

Not able to get recycle bin items programmatically, from SPWeb object When code is wrapped in a Timer Job

I have a timer job by which i programmatically loop through each web site in the site collection , and want to get recycle bin items for each website . Below is my code - public override void Execute(Guid targetInstanceId) { …
sid
  • 43
  • 1
  • 1
  • 6
0
votes
1 answer

Access Denied on Creating Timer Job throught WebPart in SP13

Well, the problem is that I have a webpart, that creates a Timer with special parameters.. When I try to create it, I get an error access denied. The fact is that I us a system administration account, I've changed the RemoteAdministratorAccessDenied…
Sergey Z.
  • 83
  • 1
  • 1
  • 3
0
votes
1 answer

SharePoint Farm Wide Custom Timer Job

I am trying to develop a custom timer job that is scoped at farm level rather than a web application level. Can someone provide me with some sample code. Also when I look at the constructor of SPJobDefinition I see the following constructor with…
user3547774
  • 1,621
  • 3
  • 20
  • 46
0
votes
1 answer

How to run a Custom Sharepoint Timer Job on alternate day?

I have to perform some action using Custom Timer Job on alternate day? Code to Create and start Timer job(in feature receiver) below,but it runs daily and i have to run it on alternate days? How to do it? private bool CreateJob(SPSite site) …
0
votes
1 answer

Python periodic task inside an infinite loop

I need to execute a piece of code inside a while True loop every, let's say, 5 seconds. I know the threading.Timer(5, foo).start() will be run every 5 seconds but my foo() function depends on a variable inside my while loop. The foo is actually run…
Mikael S.
  • 1,005
  • 3
  • 14
  • 28
0
votes
0 answers

how to configure Java EE timers to access same table in a clustered environment

I have an application which contains a Java EE timer that runs on 2 clustered nodes. The task of the timer is to fetch batches of 100 records from a common table (mysql database) and process it. Since the timer runs on both the nodes , both process…
arjun
  • 1
0
votes
1 answer

SharePoint 2007 - Audience

We have scheduled to execute the Audience (all) compilation job and found that it is failed to complete with the below error: 'The audience cannot be compiled while another job in progress' if we compile the audience manually, it is working…
One Developer
  • 99
  • 5
  • 43
  • 103
0
votes
0 answers

OnTimedEvent additional Argument

I am trying to build some scheduler using ontimedevent. To keep it fast, I want to fill an array before starting the Timer and then pass it on to my "Private Shared Sub OnTimedEvent(source As Object, e As ElapsedEventArgs)" Is it possible to add…
0
votes
2 answers

Other than Quartz what other options or popular job scheduling tools are there?

Other than quartz schedular, what are other popular job services in the Java world? Ideally something that works well with Spring. I am assuming Tomcat can handle this type of scheduling?
Blankman
  • 259,732
  • 324
  • 769
  • 1,199
0
votes
0 answers

Sharepoint 2010 timer job, value does not fall within expected range

I am facing strange in sharepoint timer jobs on production server. Here is query which is used to query a list through timer job. var incompleteJobs = from queue in JobQueue …
Mandar Jogalekar
  • 3,199
  • 7
  • 44
  • 85
0
votes
2 answers

How do I Show a SPList item Name in an Email sent by a timerJob?

I need to send an Email with a list items name of the rows my caml query picks out. I have this code: SPQuery filter = new SPQuery(); filter.Query = string.Format("
0
votes
1 answer

How to find next execution time from ScheduleExpression (Need help)

I am writing a JEE JAX-RS application and I have ScheduleExpressions as a cron expression (* 1 * * *) configured in the database. In my post construct I am creating timer service to run job periodically. Now I want to expose a rest URI to list all…
nrkkalyan
  • 179
  • 2
  • 5
0
votes
2 answers

Scheduling jobs in ASP.NET (Automatically sending email)

I m developing an ASP.NET (with sql server) application. My requirement is to send emails from the host web server (in my case Windows Shared Hosting from Godaddy) at specific intervals - these may be daily or weekly or monthly. Cron tab can't be…
user2791156
  • 41
  • 2
  • 10
0
votes
1 answer

ARJUNA016053: Could not commit transaction - JavaEE6 Timer

We have a timer that triggers a job and do some import / export processing. But on commit we open encounter the error in the title. We've tried several solutions already: 1.) Created 2 class: @Stateless public class MyBean { @Inject …
czetsuya
  • 4,773
  • 13
  • 53
  • 99
0
votes
1 answer

Time Scheduling in Navision with Timer

I am facing some problem regarding running an object , can be form,report etc, automatically depending on the user defined time. Let us say at 6am everyday, a process report should run automatically. How can i achieve this?
pungggi
  • 1,263
  • 14
  • 25