Webiant Logo Webiant Logo
  1. No results found.

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

ScheduleTask.cs

namespace Nop.Core.Domain.ScheduleTasks;

/// 
/// Schedule task
/// 
public partial class ScheduleTask : BaseEntity
{
    /// 
    /// Gets or sets the name
    /// 
    public string Name { get; set; }

    /// 
    /// Gets or sets the run period (in seconds)
    /// 
    public int Seconds { get; set; }

    /// 
    /// Gets or sets the type of appropriate IScheduleTask class
    /// 
    public string Type { get; set; }

    /// 
    /// Gets or sets the datetime when task was enabled last time
    /// 
    public DateTime? LastEnabledUtc { get; set; }

    /// 
    /// Gets or sets the value indicating whether a task is enabled
    /// 
    public bool Enabled { get; set; }

    /// 
    /// Gets or sets the value indicating whether a task should be stopped on some error
    /// 
    public bool StopOnError { get; set; }

    /// 
    /// Gets or sets the datetime when it was started last time
    /// 
    public DateTime? LastStartUtc { get; set; }

    /// 
    /// Gets or sets the datetime when it was finished last time (no matter failed is success)
    /// 
    public DateTime? LastEndUtc { get; set; }

    /// 
    /// Gets or sets the datetime when it was successfully finished last time
    /// 
    public DateTime? LastSuccessUtc { get; set; }
}