默认例程改为每10秒一次,便于入门

This commit is contained in:
大石头 2020-04-06 22:56:58 +08:00
parent 25f46a4a5e
commit 230f51aca0
1 changed files with 2 additions and 2 deletions

View File

@ -7,10 +7,10 @@ namespace HelloWork
{
public HelloJob()
{
// 今天零点开始,每5分钟一次
// 今天零点开始,每10秒一次
var job = Job;
job.Start = DateTime.Today;
job.Step = 5 * 60;
job.Step = 10;
}
protected override Int32 Execute(JobContext ctx)