Skip to end of metadata
Go to start of metadata

Redirection Notice

With Scheduled tasks, you can schedule a task to run at certain periods in the background. For example, nopCommerce sends queued emails periodically. Tasks are being run on a separate thread that comes from the ASP.NET thread pool. The basic steps to create a new task are:

    1. Define a class which implements ITask interface. It has only one method that takes no arguments; Execute. As you guessed this method is invoked when the task should be run.
    2. To schedule a task the developer should insert a new ScheduleTask record into the appropriate database table. You can use IScheduleTaskService for inserting such a record.
  • No labels