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
1answer
63 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 ...
1
vote
2answers
186 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> ...
1
vote
1answer
129 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
94 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 ...
2
votes
0answers
183 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
121 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 ...
3
votes
2answers
199 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
71 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?
1
vote
1answer
324 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
99 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
74 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
31 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 ...
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
196 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
441 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
587 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
4answers
852 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
0
votes
1answer
544 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
120 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
231 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
148 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 ...
1
vote
1answer
1k 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
312 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 ...
2
votes
2answers
145 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" ...
1
vote
0answers
118 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
2answers
1k 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; ...
0
votes
2answers
244 views

Does it matter if I use RunWithElevatedPrivileges in SPJobDefinition?

I have written a custom SPJobDefinition. In the public override void Execute(Guid targetInstanceId) method I am running some code which is encapsulated in SPSecurity.RunWithElevatedPrivileges. Since ...
0
votes
2answers
4k 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 ...
0
votes
3answers
772 views

Error occurs while deploying cutom timer job SP 2010

I am creating timer job in which the list item is added every 5 minutes. My class file which inherits SPJobDefinition is : public class MyTimerJob : SPJobDefinition { public MyTimerJob() : ...
0
votes
1answer
171 views

Any code sample available for fetching data from SAP to sharepoint feature using BCS?

We require to get data from SAP system in sharepoint 2010 timer job and feature as well custom webparts, reports. Require walkthrough samples or guidance to achieve the same using BCS.
3
votes
1answer
2k views

Run Sharepoint timer job programatically using RunNow() using account having non admin rights

I have a custom timer job which is scheduled to run during specific time period. I want to give a Run Now functionality using button click from custom sharepoint webpart. If i run timer job using a ...
0
votes
0answers
180 views

SharePoint 2013 custom TimerJob gets no results from list but same code as a console program returns results

Can anyone provide any ideas on why the below query returns nothing when inside a custom timer job. But when run from a console program it returns results. Note, both console program and OWSTimer.exe ...
0
votes
2answers
151 views

Preferable way to send notification for task list. Timer job or workflow?

I am new to sharepoint. I am having a task list in which I want to send e-mails to the person whom the task is assigned before 24 hours of due date. I am confused whether to use workflow or timer ...
0
votes
1answer
147 views

Choosing a service to associate a timer job with

I'm writing a custom timer job in C# and need to pick a service to associate my timer job with. I've tried the local timer service: : base(String.Format(JOB_NAME, Guid.NewGuid()), ...
1
vote
1answer
59 views

Timer job removing web part after 5 minutes

I have 3 lists on my home page. News Events Alerts I have 2 sites English(Master site) Arabic I have added News, Events and Alerts web parts on English home page. News and Events are ...
1
vote
1answer
41 views

When submitting/creating a custom timer job in SharePoint, how is the job's ID set?

I have a number of custom jobs that my program adds to my SharePoint environment. I noticed that there is no option to give the job a particular ID/GUID in the constructor. So my question is: How is ...
2
votes
3answers
2k 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 ...
1
vote
2answers
296 views

timer job not appearing- SharePoint 2007

I have created a Timer Job and deployed the wsp to the central admin. The feature is installed and activated fine. I don't get any error. But i can't see the timer job in the Timer job list in ...
0
votes
1answer
100 views

ecmascript/javascript to check current status of timer job

I want to show sharepoint notification when user opens a list form using oob. I am basically doing some sync with external list and sharepoint using timer job. For this i want to check if a specific ...
0
votes
0answers
102 views

GetDocumentUrlsById is not working in Load balance environment

I am using the Document ID feature and in My code i want to fetch the Documentid url so i am using this method(GetDocumentUrlsById ). For this method we need to pass spsite and Documentid. I followed ...
1
vote
0answers
167 views

NullReferenceException when Starting Workflow from TimerJob

I am creating a TimerJob that invokes the workflow. Refer to the Execute method public override void Execute(Guid targetInstanceId) { var reader = new ...
1
vote
1answer
218 views

TimerJob deploying Run with Elevated privalages

I have written a cusom timer job where in while Activating the feature i am using the below code. It works in devlopment but when i deployed it in QA i get the below error. The user is a Farm ...
0
votes
2answers
300 views

how to add items to managed metadat

I've added an new term in the 'taxonomy term store'. The new terms show in the columns that are using managed meta data. I'm querying the Lists/TaxonomyHiddenList/AllItems.aspx list for id's, but ...
0
votes
1answer
80 views

Timer job triggering based on Created Field in Task list

I have the below scenario 1) I have a Master Task list and Task list. 2) When the user Adds a Task in Master Task list then the same task should be added next month same date. For example If i have ...
0
votes
3answers
856 views

Timer job for copying list items

How can I achive copying list items through timer job? I tried the below code with no success. .cs file using System; using System.Collections.Generic; using System.Linq; ...
0
votes
1answer
135 views

Expiration Timer Job only does half the job

I have been testing expiration policies on a library. I put in about 2 dozen documents and then run the expiration timer job in CA. What I notice is that only half of the documents get processed. ...
0
votes
2answers
2k views

Prevent SharePoint 2010 custom timer job to run on all web application

I have successfully created the custom timer job to send status mails on daily basis. For testing I set the minute scheduler on the job and deployed as Web Application Scope. The timer job is running ...
0
votes
2answers
749 views

Workflow Timer Interval

Can I change Workflow Timer Interval value from default "every 5 minutes" to "every minutes" without impact to performace? Thanks for supprt, Best regards
0
votes
1answer
43 views

how to configure a timer job to run in specific servers?

If I have a big environment with 100,000 users, I am planning to split the servers for WFE, Application Servers and Batch Processing. I wonder if there is an specific way to enable/install specific ...
0
votes
1answer
253 views

TimerJob editing workflow and web config - Consuming external webservice

I have a list that is attached to a workflow (State machine, VS2010, SP2010). There is an OnWorkflowItemChanged activity that will check if a column of the list has been changed. If it changed, it ...