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

How to show Failed status in Sharepoint Timer Job

I want my timer job to display failed status on certain condition. Should I just throw an exception or what?
Muhammad Hasan Khan
  • 34,648
  • 16
  • 88
  • 131
1
vote
2 answers

How to make a timer job run only once?

I've written a code to run a timer job which runs at the start of a month informing users by email to visit the site. Here's the code of the execute method: public override void Execute(Guid targetInstanceId) { SPWebApplication webApp =…
Akhoy
  • 502
  • 1
  • 13
  • 24
1
vote
1 answer

Problem in executing Cron Jobs

i have done a bidding site in Cake PHP.The main problem I am facing is I need to run CRON JOBS on the server.But I dont' know why it is bugging me.I have craeted a controller called 'deamons' and there 4 different actions of it,which I want to run…
Nishant Shrivastava
  • 2,113
  • 3
  • 26
  • 43
1
vote
3 answers

Run a line of PHP code from user defined start time to end time without using CRON jobs

I have a line of code that needs to be executed from an user-defined start time to an user defined end time. The problem is that a normal loop from start to end doesn't work because PHP gives me an error of "Execution Time Limit Exceeded". How do I…
Kanishka Ganguly
  • 1,252
  • 4
  • 18
  • 38
1
vote
2 answers

Should I run a recurring Job as a CRON or a JAR built using Java?

I have a Linux CENTOS server that is very low on its resources (consider for example an AWS MicroInstance). I have on this server 3 PHP Applications and MySQL Server instance running. I require to run multiple recurring jobs for my application that…
Abishek
  • 11,191
  • 19
  • 72
  • 111
1
vote
3 answers

SharePoint Feature Activation Form

I'd like to collect some information from a user when they activate a feature on a site. Just like the WF Association form when you add a workflow to a list. My particular scenario is a feature that creates a timer job that will do a weekly export…
Daniel Revell
  • 8,338
  • 14
  • 57
  • 95
1
vote
2 answers

Backup & Restore Timer job WSS 3.0

Is it possible schedule a backup & restore of the WSS Site by using Timer Job? Or Does WSS 3.0 provides OOTB feature for the same? Thanks, Tejas
Tejas
  • 181
  • 5
  • 19
1
vote
1 answer

Job-Scheduling in Play! Framework

I am currently into the development of a play-powered (v. 1.2.4) application where users can perform certain tasks and gain rewards for doing so. These tasks require some energy, which will be refilled over time. The basic setting is as…
aix
  • 1,063
  • 2
  • 13
  • 24
1
vote
1 answer

Work Item Timer Job not firing

In my site (SP2010) I've created a trigger which adds a work item to the queue, through the SPSite.AddWorkItem method. This seems to do well, since the ScheduledWorkItems table is being filled with the correct data. Time is set in UTC and is the…
0
votes
1 answer

Configuring the Enterprise Library DAAB for use in a SharePoint timer job

I am trying to set up a timer job which uses the Enterprise Library DAAB. The DAAB is working fine in the conext of the the front end servers (aspx page), where the data connection is retrieved from the web.config. But in the context of a timer job,…
0
votes
0 answers

Sharepoint Timer Job succeeded but didn't execute the code

I have a custom Timer Job created in Sharepoint 2010. After it runs, the Status shows "succeeded", but it actually doesn't execute the code. I have managed to debug it, and I saw that it enters in the "empty" constructor several times: public…
Alessandra Amosso
  • 351
  • 1
  • 4
  • 13
0
votes
2 answers

run a Java program in specific time

i need help to run my Java program on the server at a specific time like 2 pm (to index the new files). Someone told me that Java has some thing called jobs but I don't know how to work with that. I tried this: boolean cond=true; while(cond){ …
Dilllllo
  • 448
  • 5
  • 10
  • 24
0
votes
1 answer

Get user profile from Azure AD using graph api

I want to develop a timer job (C#), which will run at background without any logged in user, through which i need to fetch user profile (profile image and job title) from Azure AD using a graph api. I want to achieve this using delegated permissions…
0
votes
1 answer

Implementing automatic reminders in java

I have to remind the user about schedules which he did previously in java. I know i can do with timers but how do i do tat ? actually i need to remind about many schedules so do i have to create timers for each schedules or can i handle it with just…
Deepak
  • 6,684
  • 18
  • 69
  • 121
0
votes
0 answers

Why would a custom SharePoint timer job work on only half the items in a list?

We have a timer job that checks the SharePoint User Profile service for a users location and title, then updates the metadata for a page library of offices with the associated manager. We recently updated the logic, published and ran it in our QA…
Keith
  • 140
  • 2
  • 7