Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • S SharePoint.WarmUp
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 14
    • Issues 14
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Infrastructure Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • CodePlex
  • SharePoint.WarmUp
  • Issues
  • #10

Closed
Open
Created May 30, 2018 by Laurent Sittler@lsittler©Owner

Additional Urls not work properly

Hi,

This a awesome tool and helpful. Recently, I tried to add multiple additinal urls in WarmUpJobConfiguration.aspx. It's not work properly if we put as separator in Url.spilt method. OWSTimer will always get exception.

I've changed the code in WarmUpJobDefinition.cs that works. HTH.

```csharp if (Urls.Trim().Length > 0) { // Modified by Sam Lin([email protected]) - 2012/07/20 // Fix the Urls split issue // Browing each URL string[] allUrls = Regex.Split(Urls, "");
                foreach (string url in allUrls)
                {
                   // We check the URL is not empty
                    if (url.Trim().Length > 0)
                        AwakeURL(url);
                }

Regards,

Sam
Assignee
Assign to
Time tracking