Questions tagged [timer-jobs]
A timer job runs in a specific Windows service for SharePoint Server to automate common SharePoint tasks.
32
questions
13
votes
7
answers
50k
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
5
answers
14k
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 ...
6
votes
3
answers
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 ...
4
votes
3
answers
24k
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 ...
10
votes
4
answers
5k
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
2
answers
276
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 ...
5
votes
1
answer
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 ...
4
votes
3
answers
26k
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....
1
vote
1
answer
759
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 ...
1
vote
2
answers
2k
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 ...
12
votes
5
answers
12k
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?
12
votes
1
answer
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?
11
votes
2
answers
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# ...
8
votes
4
answers
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 ...
4
votes
4
answers
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
3
answers
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?
3
votes
2
answers
3k
views
App Installation Service Timer Job Missing
I've got a SharePoint 2013 Development server that is having issues installing applications developed within Visual Studio 2013. When attempting to install, the job just continues to run and never ...
3
votes
2
answers
523
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 ...
3
votes
0
answers
2k
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
1
answer
4k
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 ...
2
votes
1
answer
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
4
answers
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
1
vote
3
answers
9k
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
{
...
1
vote
1
answer
3k
views
Custom Timer Job not running on SharePoint 2013
All of the custom timer jobs are not running without showing any error/correlation IDs. Below is the only stack I could see from ULS logs even after enabling verbose - no error/failures/exceptions are ...
1
vote
1
answer
5k
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
1
answer
719
views
Timer Jobs not running due to AllowServiceJobs and AllowContentDatabaseJobs being false
After upgrading our farm to SharePoint 2019 I have problems with some timer jobs not running at all. I was able to fix this issue yesterday by following this answer on stackoverflow.
However during ...
1
vote
1
answer
932
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
2
answers
1k
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?
1
vote
2
answers
797
views
Many timer jobs inside our sharepoint on-premises 2013 is showing "N/A" for the "Last Run"
We have an enterprise sharepoint on-premises 2013. but recently i have noted that many jobs inside the sharepoint central admin site are having their "Last Run" = "N/A" as follow:-
Now the timer ...
0
votes
3
answers
2k
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
3
answers
4k
views
SharePoint 2010 Timer service is started but the timer jobs are not running
I am working in SP 2010, I want to run few timer jobs, but no timer jobs are running on the server, not even the inbuilt timer jobs.
The Running and Scheduled timer job sections are empty. The last ...
0
votes
2
answers
520
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.