You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
637 B
31 lines
637 B
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
|
|
namespace Apewer
|
|
{
|
|
|
|
/// <summary>Cron 运行周期。</summary>
|
|
public enum CronCycle
|
|
{
|
|
|
|
/// <summary>只运行一次。</summary>
|
|
Once,
|
|
|
|
/// <summary>每分钟运行。</summary>
|
|
Minute,
|
|
|
|
/// <summary>每小时运行。</summary>
|
|
Hour,
|
|
|
|
/// <summary>每天运行。</summary>
|
|
Day,
|
|
|
|
/// <summary>每周运行,偏移秒数从 <see cref="DayOfWeek.Sunday"/>(星期日)开始计算。</summary>
|
|
Week
|
|
|
|
// 月和年的天数不固定,不提供选择。
|
|
|
|
}
|
|
|
|
}
|