A timer job runs in a specific Windows service for SharePoint Server to automate common SharePoint tasks.
11
votes
2answers
891 views
Error computing the expiration data for item
EventID 7972 Task Category: Information Policy Management Source:
Document Management Server
>
> Error computing the expiration date for item
> ...
9
votes
1answer
1k 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?
8
votes
2answers
2k 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 ...
8
votes
2answers
632 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
2answers
567 views
Executing a new instance of a timer job before the previously running instance has finished executing
I have a timer job that invokes a WCF service that invokes a single threaded API internally.
TO ensure that my system does not fail, i want to ensure that only a single instance runs at a time.
I am ...
7
votes
4answers
2k 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 ...
7
votes
4answers
7k 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 ...
7
votes
1answer
542 views
SPService, multiple farm jobs, persisted property updates (SPPersistedObject locking?)
I have an SPService class.
MySPService : SPService, IBackupRestore, IDiagnosticManager {
[Persisted]
private string propertyUpdatedByJobsOnAllServers;
.
.
.
}
I also have a Job that runs ...
6
votes
3answers
2k 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 ...
6
votes
4answers
2k 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 ...
5
votes
3answers
976 views
What is downside of reducing the workflow timer job in SharePoint2010 from 5mins to 1 mins
I am working on a project which trigger the workflow in code asynchronously, the default time for the workflow timer job to pick the workflow is 5 mins , I would like to reduce the timer job from ...
5
votes
1answer
896 views
What is the right way to update a custom timer job?
I created a custom timer job (SharePoint 2010) which gets registered through a feature receiver. At the moment the custom timer job works fine but I need to make changes to the code. So, naturally I ...
5
votes
3answers
2k views
On which server does Timer Jobs Run on? (In a medium farm)
We are going to build a medium farm and would like to split the timer jobs across the CA and WFE server.
How do I set which timer job runs on which server?
5
votes
1answer
220 views
Need help specifying the location of a Custom Action
Spawned from this question.
I have been able to add a new link to my Central admin page under the Monitoring->Timer Jobs section. My problem is that I have been unable to figure out how to add it ...
5
votes
3answers
676 views
What happens to executing Timer Jobs when the Timer Services is restarted?
What happens to executing Timer Jobs when the Timer Service is restarted?
Does it abruptly abort any executing jobs? Is there an exception to catch (for example ThreadAbortException) in your timer ...
4
votes
5answers
8k 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
4answers
1k 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 ...
4
votes
4answers
5k views
How can I get a reference to a specifc SPWeb object in a custom timer job?
I have a custom timer job that imports data from an external source into a specific list on a specific Web in my SharePoint 2010 installation. That is the job is only relevant to one list on one web. ...
4
votes
4answers
179 views
Timer Job Creation - Without Coding
Is there any way that allows me to create a timer job without having to code it? Any application out there that abstracts the coding?
4
votes
1answer
637 views
Custom timer job - trying to access a custom User Profile - failing with “Could not load file or assembly” (of UserProfile)
I'd be grateful if anyone could point me towards the right direction for the following problem.
Given: Sharepoint 2010 project. FBA Authentication with custom user profile (class called UserProfile, ...
4
votes
1answer
180 views
Delayed Writes & Implications for Cross-Process Synchronization
Simple scenario: OWSTIMER creates a new SPListItem, populates it and calls .Update(). It then fires an HTTP request over to w3wp.exe (front-end app-pool) to invalidate an in-memory cache held there. ...
3
votes
2answers
1k views
My Timer Job Not sending any mail!
Hi I used following code to send mail from Timer job, (Thanks to Mr Deepu for providing a sample template).
After deploying it, I could able to find this job, in the monitoring section of the Central ...
3
votes
2answers
2k views
Cannot send emails through SMTP using a Timer Job?
I'm trying to use Timer Jobs as part of a system to send out special periodic emails to users of our SharePoint site collections. The timer jobs work... except when it comes to actually sending the ...
3
votes
1answer
670 views
Create a farm wide timer job…is it ok?
I'm following this http://msdn.microsoft.com/en-us/library/cc406686%28office.12%29.aspx and have successfully created a TimerJob that is WebApplication wide.
this line
foreach (SPSite ...
3
votes
2answers
744 views
Develop a timer job that operates only on selected site collections
Advancing from my original intent to run things via a Workflow as per this original question, I've started to work on a complex, configurable Timer Job that reads from each listitem to determine the ...
3
votes
2answers
284 views
SPWebApplication returns null on timer service
I am trying to debug a timer job, its WEB application scoped.
When it executes, webapp and sitecollections are null for some reason?
Any idea?
Update1:
I changed a little bit the code, check ...
3
votes
2answers
151 views
Running a Timer Job
I have a custom Timer Job that runs on every Monday. However, I want to be able to run the timer job manually outside of Central admin. but I dont want to use PowerShall or stsadm. Can I put a link ...
3
votes
2answers
1k views
Web Analytics Reports force update
What jobs do you need to run to update the metrics for Web Analytics Reports? It looks like they update daily, but I am unsure what jobs to kick off to see it update more regulary.
3
votes
2answers
325 views
How to read the xml file from 14 hive
I have a custom timer job by which I need to create custom properties using an xml file (which has all the custom properties). As for the xml file, I'm thinking to create a module for it. And then ...
3
votes
1answer
273 views
Recycle Bin Timer Job
The recycle bin timerjob is configured to run daily at 1.00 am . The CPU utilization of the database was nearly 90 %. When i checked the recycle job status it was initialized at 12.00 noon. Now the ...
3
votes
1answer
3k views
Workflows Auto Cleanup Timer Job or how to remove Workflow Instances?
I have read, that every now and then the "Workflow Auto Cleanup" job runs and cleans old workflow instances which are older than 60 days are deleted (or something along the lines).
I have a simple ...
3
votes
1answer
120 views
Strange error from timer job service
I'm developing timer job for SharePoint 2010. I was able to deploy it on my local machine but when I was trying to execute timer job I get strange error message:
Job definition SP2010.CopyDocsJob, ...
2
votes
3answers
250 views
OWSTimer.exe suddenly disappeared
I am testing/debugging this Timer Job, while deploying my solution again and again using WSP Builder, I manage to hide OWSTimer.exe so now I cant find it to attach timer job to and debug my code, ...
2
votes
3answers
987 views
Problem Activating Custom Timer Job
Right now I'm trying to create a SharePoint 2010 Custom Timer Job in Visual Basic 2010, which doesn't want to register itself in the SharePoint Timer (it appears to add ok and everything, but doesn't ...
2
votes
4answers
1k 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
2
votes
4answers
127 views
How to create “date based” folder permissions in 2010
I need to create permissions for folders based on dates.
For example:
Group B and Group A both have permissions for folder X. On june 21st of every year, group B will lose access to Folder X until ...
2
votes
1answer
789 views
Best Practices for Deploying Timer jobs in Server Farm Environments with multiple WFE
i have a timer job which i want to run only once per day, for the entire farm. How do I
Deploy it in a multiple WFE environment? Do I run the stsadm -o deploysolution command in every WFE, or just ...
2
votes
2answers
186 views
How to fix the access issue with Timer JobDefinition Page - SP2010?
I am unable to access the Timer Job Definition Page in Central Admin and getting error given below, if anyone can tell me how to fix this issue please,
The configuration database was queried for a ...
2
votes
2answers
567 views
Cannot update DB record from SP timer job
I am trying to create a timer job that will read a list of new customers from a SQL server db, create a site for the customer and then update the table with the site's id. I have no trouble reading ...
2
votes
2answers
1k views
Access denied when registering a custom timer job
I am getting a SecurityException while trying to activate a feature with a custom timer job. The error is raised from the job.Update() method call. I am running the code with Farm Admin account.
Do ...
2
votes
1answer
384 views
run a Console Application within a timer job
I need to run a console application within the execute method of a timer job in SharePoint 2010. Please guide me to do this by providing samples or links or hints.
2
votes
2answers
541 views
Error trying to Update List Items via a TimerJob
I thought I could reference SPContext when executing the timerjob function but I get "Instance reference is not set to an instance of an object". It fails when I reference SPContext.
What am I doing ...
2
votes
1answer
284 views
Alternative to HttpContext.Cache within a Timer Job
A coworker of mine has created a centralized Logging utility that works throughout our SP projects. It does a good job of queuing up a large number of logs, deals with logging level, etc.
However, ...
2
votes
1answer
92 views
Farm Based Custom Timer Job Feature
I am trying to create a custom timer job where feature is farm scoped and will run on a farm level, I am not able to find any decent tutorial that tells how to create a farm based custom timer job ...
2
votes
3answers
683 views
Accessing connection string in custom job
I have configured connection string in my IIS since I'm reusing it through my sharepoint solutions and custom services running next to sharepoint sites.
I'm using following snippet throughout my ...
2
votes
1answer
499 views
SharePoint. How to run timerjob every 90 minutes
I have a web.config setting like IntervalInMinutes. I would like to use the setting value to create my SPSchedule instance and run my job. The interval should be set in minutes.
I know how to use ...
2
votes
1answer
1k views
Sharepoint 2010: Custom Timer Job Configurable Properties
I would like to know if it is possible to have configurable properties for a timer job that can be managed via Central Administration, prior to the job actually running.
Let me paint a usage ...
2
votes
1answer
84 views
Running code that creates a TimerJobDefinition outside of Central Admin
I have run into a problem several times now where I have developed a custom timer job, and I want my site collection administrators to manage the schedule of this job with a custom application page ...
2
votes
2answers
555 views
Disabling/postponing timer jobs programmatically
I wrote a utility that sync's our Oracle HR database of employees into SharePoint profiles. It loads all 150,000 employees from Oracle into an array, for each employee it retrieves or creates a ...
2
votes
2answers
300 views
Does Timer Job Waits for the Operation To Complete
I was curious about if the timer jobs execution interval is like 3 minutes and the execution of the code is like 10 minutes, what happens internally.
I'm sure that the timerjob execution is not ...

