A timer job runs in a specific Windows service for SharePoint Server to automate common SharePoint tasks.

learn more… | top users | synonyms (1)

2
votes
2answers
323 views

Unable to update list item - Additions to this web site have been blocked

I am developing a SharePoint job. In the public override void Execute(Guid targetInstanceId) method, my code goes: SPSecurity.RunWithElevatedPrivileges(delegate() { int count = ...
0
votes
2answers
18 views

How to programatically get a link to custom timer job settings?

I have created a custom timer job and deployed it to all web applications. In a custom central administration application page, I would like to show links to this timer job (e.g. 2 links if there are ...
0
votes
1answer
354 views

How to get all Note Board notes?

I have written code like this SPServiceContext context = SPServiceContext.GetContext(site); Uri uri = new Uri("http://localhost:1000/"); var socialCommentManager = new SocialCommentManager(context); ...
6
votes
5answers
155 views

When should we use SharePoint Timer job and when Windows Task Scheduler?

Can somehow explain me what are of the benefits of using SharePoint Timer jobs over Windows Task Scheduler?
1
vote
2answers
616 views

Column doesnt exist error - Sharepoint Deployment

I am getting an error while deploying a project to the Timer Jobs. It keeps shooting me an error that says "Column does not exist", when I go to my list and my code, there is no such variable or ...
0
votes
1answer
22 views

Server getting flodded with SPUCWorkerProcess.exe

Got a SP2010 Server server that we use as an app server (not a WFE other than the Client Administrator). I had to reboot it to clear out dozens of processes as seen in Task Manager. We had probably ...
0
votes
4answers
271 views

sharepoint 2013 workflows start on date

I have a requirement of starting a specific alert to user at the beginning of the month, can I do that with SharePoint Designer 2013 workflow? Was it changed from 2010, in 2010 we could not do that
7
votes
5answers
12k views

Trigger workflow daily

Is there a simple or OOTB way in SharePoint to trigger a workflow to execute daily? Maybe through the use of timer jobs? My goal is something that doesn't require the use of a solution or some type ...
1
vote
1answer
54 views
1
vote
0answers
22 views

SharePoint Online workflow pause until

As far as I know it could cause troubles to pause a workflow for a longer time, like a few months. And I can understand that it could be a problem to do so on an on premise installation. But what ...
0
votes
2answers
2k views

Custom Timer job throws an error : “Value cannot be null. Parameter name: uriString”

I am facing an issue while trying to write the custom Timer Job in SharePoint 2007. Have overridden the Execute method public override void Execute(Guid contentDbId) { using (SPSite ...
0
votes
0answers
11 views

The right place to add / remove timer jobs [duplicate]

Still fairly new to SP. Have a question about adding timer jobs via features. A couple of weeks ago when I was even newer to SP, I followed one or two tutorials on the subject. The code in these used ...
0
votes
0answers
17 views

Sharepoint 2010 timer job running multiple times

I have a 2 timerjobs which both have SPJobLockType set to SPJobLockType.Job to ensure they only run on 1 server and they run once every hour. However they seem to be running twice with only 1 minutes ...
1
vote
1answer
30 views

How to identify the jobs which are running?

I need to find the jobs which are running currently. This is to check the longest running jobs. Is there any powershell sript to get this done?
0
votes
0answers
14 views

What circumstances would cause most timer jobs to run on the wrong server?

A customer has encountered a situation whose source I can't figure out. Consequently, it's not too easy to figure out how to restore the configuration to health. The customer's configuration is a ...
2
votes
2answers
893 views

My custom sharepoint 2010 Timer job not running

I have created a custom timer service to create a list. its scheduled in minute using FeatureActivated event. I could able to globally deploy the solution. But the my timer job is not running. Its ...
1
vote
2answers
31 views

Timer Job throws Field types not installed correctly Exception when querying a list

Hi Guys I have this situation: A timer job queries a list and gets items from it. The 2 queries are: <Where> <And> <And> <Leq> ...
2
votes
1answer
36 views

Timer job access to style library

In my timer job code, there is a section where for each site collection in the web application, I am reading an XML template file in the style library of that site collection. The code looks ...
0
votes
0answers
37 views

SP2010 Timer Jobs Scheduled on multiple WFE

At some point within the past 24 hours we've experienced timer jobs now being scheduled to run on both WFEs per execution cycle. None of these jobs have been modified recently; most haven't been ...
3
votes
3answers
1k views

Instantiating timer job multiple times

I need to check the status of a VS workflow a number of times for status and send email if task incomplete. Usually I create a Sharepoint timer Job. As I am required to check numerous times a day ...
1
vote
1answer
430 views

Executing sharepoint Job on single content db

I've added a 2nd site collection with its own content db. My custom timer job now runs twice, I want it to run only once as it sends an email out. How can I achieve this ? Here is my code : I've ...
12
votes
3answers
3k views

Deployed Timer Job not taking new code when deployed

I've realized recently that, when re-deploying (either manually or through vs2010) my timer job feature package, the updated execute code is not being deployed. Strange yea. Essentially, I'll ...
1
vote
1answer
29 views

SPJobDefinition - base.Execute(targetInstanceId);

I have a timer job that manipulates items in a list. The code for it looks something like: public overrride void Execute(Guid targetInstanceId) { //base.Execute(targetInstanceId); /* Code ...
1
vote
0answers
46 views

List all SPWorkItemJobDefinition

I have a document that I would like to delete, but receive the following error message: "This list item has a job pending." I believe this is caused by our TRIM Integration creating SPWorkItems on ...
0
votes
0answers
27 views

Alerts not working - Timer Lock

I've checked content database; SELECT * FROM timerlock WITH (nolock) Then having checked the eventcache table; SELECT * FROM eventcache WITH (nolock) WHERE EventData is not null I've got a ...
1
vote
0answers
40 views

Create timer job to execute powershell script?

I have created timer job and under execute method.i have added below statement to run sharepoint command. runspace.RunspaceConfiguration.AddPSSnapIn("Microsoft.SharePoint.PowerShell", out ...
0
votes
1answer
1k views

Create Email Reminder for Recurring Calendar Events

I'm trying to figure out a way to create 2 calendar event items. 1 that sends an email reminder 30 days before it's start time to certain people and the other that sends an email reminder 7 days ...
3
votes
2answers
84 views

Where to store data needed by a custom timer job?

I have a custom ribbon button in each document library and when a user clicks it, I'd like to store some library-related data (URL, id ...) in a way that would make it available to a custom timer job. ...
0
votes
2answers
31 views

Which of the foll. powershell script is correct way to install a timer job into SharePoint?

1: install-spsolution Solution.wsp -webapplication "webapplication" -GACDeployment –force 2: install-spsolution Solution.wsp -GACDeployment –force Which of above is best practice?
0
votes
2answers
212 views

Can't get the user email from user info when code executing in timer job

SPList resourceList = SiteProvisioningProvider.GetListReference(web, "Lists/list"); foreach (SPFieldUserValue admin in adminCollection) { SPListItem ...
1
vote
1answer
77 views

SharePoint 2010 Timer Job - Execute method not executing

In a newly created farm I have deployed a timer job which is working fine on another farm. When I debug this timer job it calls the base constructor, however the execute method is never called and ...
3
votes
1answer
51 views

Disable timer job

Please provide me stsadm command to disable timer job in sharepoint 2007 I want to disable not delete so that in future I can enable it again if required
1
vote
1answer
50 views

Timer job status

I am trying to figure out why SharePoint does not send notifications every once in a while. I seem to find myself restarting the "Windows SharePoint Services Timer" on the server and then all of a ...
1
vote
0answers
24 views

Job was updated do not execute the actual code!

I have a job (timer job) that was updated but the new code is not executed but the old!!! I have reseted the Sharpoint Timer, I have reseted the App Pool IIS ... but nothing makes the new job code ...
2
votes
3answers
484 views

Make timerjob runs on specific server?

I have an already developed timer job that is running on front end servers, but I want to set it to run on application servers only. Can I do this with PowerShell without modifying any code of the ...
2
votes
2answers
81 views

SharePoint TimerJob not executing

I have a TimerJob in my feature that is not executing. I've tried restarting the timer service (below), deactivating and activating the feature, and manually executing the job using the "run now" ...
0
votes
1answer
484 views

synchronize data from external list and SPList

How do we synchronize data from an external list (BCS) into a custom SharePoint list? I have tried using a timer job, but it did not help. Any ideas?
0
votes
0answers
14 views

Job executes from its feature deploy and after it is automaticaly deleted

I'm trying to figure out why my Sharepoint job executes since I deploy it and not in the time i have defined! and after it is automatically deleted of the job collection!!!
0
votes
1answer
59 views

Multiple Timer Job in the same SharePoint famr solution project shows up with the same Title in Central Admin Job Definiation

I have a SharePoint farm solution in VS2013 for SharePoint 2013. It contains two timer jobs, and each has their own feature definition. Once it has deployed to the development SharePoint server ...
0
votes
2answers
70 views

sharepoint job execute on start timer (net start sptimerv4)

I have a JOB that executes on "NET Start SPTimerv4". I dont want that my JOB execute on this actions. Someone can tell me what I need to do ? Thank you
2
votes
3answers
254 views

Differentiate between custom timer jobs and system timer jobs

Is there a way to differentiate between custom timer jobs and system timer jobs. Under Central Administration - Monitoring - Job Definitions I see all the jobs defined on the farm. I´m new to this ...
0
votes
1answer
106 views

create timer job to send mail based on field

I want to create timer job which should work as below. I have a list with field 'comments(multiple line of text)' , this timer job need to run after 1 week and check if field is empty or not.If field ...
0
votes
1answer
58 views

code to iterate Document Library for feature

I'm writing a timer job that needs to email document owners when a document column (review Date=today) I want features to be available in sites which I can activate site collection. How do I ensure ...
0
votes
1answer
80 views

How to read values from Secure Store Service Application in a timer Job

I have in my sharepoint application an external source that must be accessed by 2 parts of my application The first part is a page, where the users can search on a form, the external data. The second ...
0
votes
1answer
66 views

Central admin: Job definition (_admin/ServiceJobDefinitions.aspx) page throwing object reference error

The Central admin: Job definition (_admin/ServiceJobDefinitions.aspx) page throwing object reference error. Everything was working as expected 3-4 days back , i tried to check if my custom timer jobs ...
0
votes
1answer
199 views

How to get the root site collection from a web application?

I am using sharepoint 2010 with some custom timer job at web application scope. In this timer job I have a foreach which loops into all site collection in the current web application. There is an if ...
0
votes
1answer
112 views

Sharepoint Timer Job : Cental admin or feature activated event?

I have a Sharepoint Timer job and have scheduled it on hourly basis in my feature activated event. I deploy the code , feature is activated and timer job is set . Code Snippet : SPHourlySchedule ...
1
vote
0answers
64 views

Recreate ootb Timer Job

Just accidentally deleted an out-of-the-box timer job in SharePoint Foundation 2010, the "Change Log" Timer Job, using PowerShell (SPJobDefinition.Delete()) in a farm with only one server. How can I ...
0
votes
0answers
41 views

Timer job feature disable in other site collections

I have the below scenario. I have multiple site collections present in a web application and I have to create a timer job which will be used across the site collections. When I first created it, it ...
0
votes
2answers
366 views

How to have SPSite object available in custom Timer Job?

Here's my FeatureActivated method: public override void FeatureActivated(SPFeatureReceiverProperties properties) { SPSite site; MyCustomJob customJob; SPDailySchedule schedule; ...