The Stack Overflow podcast is back! Listen to an interview with our new CEO.

Questions tagged [timer-jobs]

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

Filter by
Sorted by
Tagged with
13
votes
8answers
48k 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 ...
9
votes
5answers
13k views

How does Membership show in Mysite - SharePoint 2010?

I am a member of site collection however membership tab does not show any information in my Mysite even after a week. I understood that SharePoint 2010 uses a timer job to collect the membership ...
4
votes
3answers
22k views

How do I handle the large List with more than 5K items in SharePoint 2010?

Have developed a simple request tracking application on SharePoint 2010; it stores the info on the SharePoint List. I would expect ~100items / week getting stored on the root folder of the list(as ...
6
votes
3answers
6k views

Configure SharePoint user for timer job

A farm administrator should allow access for a new user to the web, this user has never been added to any sharepoint groups before (He is a new employee, for example). This user should have ...
10
votes
4answers
4k views

Web scoped Timer Job

Could you help me understand the SharePoint timer job? The issue is simple. I should implement a page and put it to the layout folder (the page should be accessible from any web). This page should ...
2
votes
2answers
220 views

Need comments for code within SPSecurity.RunWithElevatedPrivileges

I am investigating the below code to make sure if its quality is as per Microsoft standards. Actually Comments came from Microsoft code reviewer that we need to create new SPSite Object within the ...
4
votes
3answers
20k views

Critical error 6398 - User synchronization not working anymore

I just found this morning that there are a lot of critical errors since 9/9/2015 in SharePoint, all of them being the Event ID 6398. Here's the error: The Execute method of job definition Microsoft....
5
votes
1answer
8k 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 ...
1
vote
2answers
1k views

SharePoint 2013 Standard Timer Jobs not running for specific web application

Here's some background on our setup. We have 2 servers that host the web front ends that connect to our single SQL server. In CA we have 2 web applications (besides the CA web app). One of these web ...
1
vote
1answer
741 views

Moss Timer job deployed in one web application but running in a different web application

I can't believe Timer Jobs and SharePoint can be this un-predictable. I deployed my Timer job feature solution to web application A and activated feature, it worked for 3 days in same web application ...
12
votes
1answer
4k views

Possible to add a “configuration” page to my custom timer job?

I would like to have a page in the central admin that allows administrators to configure a few values for the my timer job. Is there a way that I can do this?
7
votes
4answers
6k views

How can I schedule the User Profile Service to run a full sync weekly?

We are running SharePoint Server 2010 and have not yet applied SP1. User profile incremental sync is not picking up all of the group membership from AD. Starting a full sync seems to rectify the ...
12
votes
5answers
11k 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?
11
votes
2answers
2k views

Why use SharePoint Custom Timer Jobs?

Am I wrong to think that Scheduled Windows Tasks running for example a console app can achieve everything that a SharePoint custom timer job can? This has been my experience so far. However, a C# ...
1
vote
2answers
984 views

How to set timer job interval?

How can we set timer job so that it will run on specific date of month? For example, i want schedule timer job to run on 2nd and 28th day of month. How can we do that?
3
votes
3answers
7k views

timer job programatically check status

Is there a way to check for the status of a timer job, I need to know the last time it executed and its status, that it run correctly?
2
votes
4answers
6k views

Executing powershell script from a timer job

Is it possible to call a powershell script from a sharepoint timer job ? or are there any security issues involved in doing so? Regards, Jeevan
4
votes
4answers
2k views

What techniques do you use to debug/test your SharePoint Timer Jobs?

I have developed a number of SharePoint Timer Jobs and they are always a bit more painful to debug and test than other areas of SharePoint. I was wondering what tools/techniques other people use to ...
3
votes
0answers
1k views

New-SPSite gives ERROR: Failed to OpenThreadToken, LastError=1008 in Timer job

I have a timer job that is running some powershell. The script creates a content database and then attempts to create a site collection. If run from powershell prompt the script works fine. If I ...
2
votes
2answers
413 views

Access denied while creating content database from event receiver

I have created one timer job which will add SharePoint content database. When I am running timer job manually from central admin, Content database is being created successfully. Now I have one list ...
2
votes
1answer
2k views

Rating's not being saved

Initially, I thought there was a problem with a control I've made to rate a document when I found that no documents appeared to be rated. So last night I rated documents (approved and published) ...
2
votes
1answer
3k views

Custom SharePoint timer job is not visible in the central admin

A custom SharePoint timer job is not visible in the central admin job definition section. I have: Activated feature in the application, Restarted the SharePoint timer services, Restarted IIS using ...
1
vote
1answer
883 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 ...
1
vote
1answer
4k views

Delete timer jobs

I have a couple of timer jobs that I cant get rid of. I think they got created as a consequnce of creating a custom job. Also, if I use powershell Get-SPTimerJob then I get an exception. Get-...
1
vote
3answers
8k views

“Access Denied” while Activating Custom Timer Job

When i tried to Activate Feature of Timer Job It returns error : Access Denied Scope of Feature is "Site".. private static void CreateJob(SPSite site) { try { ...
0
votes
2answers
391 views

Is it possible to run timer job on button click event?

I want to know whether it is possible to run SharePoint Timer Job on button click event.