Tag Info

New answers tagged

0

While Kjetil Gullen's and Paul Schaeflein solutions will work fine for completed tasks (succeeded or aborted for some reason), the entries for the currently running jobs are not yet present in the JobHistoryEntries. You can include running jobs in your check by using the RunningJobs property of SPService (for all jobs running under a SharePoint service) or ...


0

first use: Get-SPFeature -Limit ALL | Where-Object {$_.Scope -eq "SITE"} this gets all features from site scope! find your feature and copy the id! next use this, havent properly tested this but i think its what your looking for! Get-SPSite http://yoursite.co.uk | Get-SPWeb -Limit ALL | Where-Object { Get-SPFeature -Limit ALL -ErrorAction ...


0

The SharePoint timer service is a simple windows service. It's listed in the services screen. De timer service executables reside in the bin folder of the SharePoint $hive. The SharePoint timer service is installed and activated by default. It should not be disabled. If you disable it, SharePoint will not run correctly. You can programmatically add (and ...


0

There are timer jobs on Web Application levels, and you can use PowerShell to Start and Stop timer jobs, and more: Disable-SPTimerJob Disables a timer job. Enable-SPTimerJob Enables a timer job. Get-SPTimerJob Returns timer jobs. Set-SPTimerJob Sets the schedule for running a timer job. Start-SPTimerJob Runs a timer job once. Se more here: Timer jobs ...


0

I don't exactly what you are trying to accomplish from your code, but you have a couple of options to store the configurations within SharePoint. Option 1 Use a settings list: This preferable if you have a root site collection or site. This list would just two fields setting name (or title), and setting value. Option 2 Use the web application's property ...


1

Number of items in a list as per your description not a big because SharePoint can store millions of items in a List. Only problem is the List view Threshold, Number items are returns in a view cause the issue if it breach MSFT best practice limit( 5000 items). Their are ways to deal with large with i.e using the index column, metadata columns etc Here is ...


2

The SharePoint boundaries document (http://technet.microsoft.com/en-us/library/cc262787%28v=office.14%29.aspx) states that a list can contain 30,000,000 items. The query threshold is 5,000 items per operation. By default, a list view will request only 30 items per page, which is well below the threshold. Unless you alter the views, you should not have any ...


1

If it is attached to a list you will want to include that as so: Get-SPTimerJob | where { $_.name -like "*<List_JOB_NAME>*" } |ft id,name Not just the Job Name, I find the post is not explicit enough.


0

The timer job was increased to 10 minutes so at times there were no USAGE files being generated.


0

public override void Execute(Guid contentDbId) { ... SPSite site = webApplication.Sites["sites/dev"]; if (site.ContentDatabase.Id.Equals(contentDbId)) { ... // put your code here and it will only run once for the targeted site collection. } ... }



Top 50 recent answers are included