Tuesday, 18 November 2008

Invoke the CS 2.1 RollerBlogUpdater manually

CommunityServer.RollerBlogs.Components.RollerBlogUpdater r = new CommunityServer.RollerBlogs.Components.RollerBlogUpdater();
        r.Execute(CommunityServer.Configuration.CSConfiguration.GetConfig().GetConfigSection("CommunityServer/Jobs").ChildNodes[17]);

Where 17 in the index of the job node in the Jobs section of CommunityServer.config