Webiant Logo Webiant Logo
  1. No results found.

    Try your search with a different keyword or use * as a wildcard.

IScheduleTaskRunner.cs

using Nop.Core.Domain.ScheduleTasks;

namespace Nop.Services.ScheduleTasks;

/// 
/// Schedule task runner interface
/// 
public partial interface IScheduleTaskRunner
{
    /// 
    /// Executes the task
    /// 
    /// Schedule task
    /// Force run
    /// A value indicating whether exception should be thrown if some error happens
    /// A value indicating whether we should ensure this task is run once per run period
    Task ExecuteAsync(ScheduleTask scheduleTask, bool forceRun = false, bool throwException = false, bool ensureRunOncePerPeriod = true);
}