Virtual Happy Hour is canceled this month (March) due to Good Friday.
Try our conversational search powered by Generative AI!
AI OnAI Off
Virtual Happy Hour is canceled this month (March) due to Good Friday.
EPiServer.CMS.Core 10.4.3
EPiServer.CMS.Core 10.6.0
Mar 06, 2017
Mar 24, 2017
CMS Core
Closed, Fixed and tested
Steps to reproduce
1. In an Alloy demo site, disable the scheduler by adding the scheduler=false attribute to applicationSettings:
<applicationSettings enableScheduler="false" ...>
2. Add a new class to the project. Be sure to give it a unique name:
using EPiServer.PlugIn; using EPiServer.Scheduler; namespace AlloyDemo.Business { [ScheduledPlugIn(DisplayName = "Job title", Description = "Job description", SortIndex = 100)] public class SomeJob : ScheduledJobBase { // ... public override string Execute() { return "Done"; } } }
3. Compile and start the website.
4. Go to the admin UI and select the new job.
It's very important that the scheduler is off before the job is added, and that a job with the same name/namespace doesn't already exist in tblScheduledItem.