How To Create Sitecore Scheduled Task

To create a scheduled task in Sitecore, first you must create the .NET class that will contain the logic that you wish to execute. ┬áIn the example below I’m simply logging a message whenever the task is run.

Your method must accept three arguments.

  1. An array of items that can be specified┬áin a later step when you define the command’s schedule.
  2. The Sitecore task CommandItem
  3. The Sitecore task ScheduleItem

Continue reading