Commit 1c443491 by guanzhenshan

1

parent 058caf30
...@@ -28,7 +28,7 @@ namespace Bailun.DC.DailyItemNoProfitRate ...@@ -28,7 +28,7 @@ namespace Bailun.DC.DailyItemNoProfitRate
{ {
var now = DateTime.Now; var now = DateTime.Now;
if ((now.Hour == 17 && now.Minute == 05)) //17:05启动 if ((now.Hour == 10 && now.Minute == 05)) //17:05启动
{ {
Console.WriteLine("开始启动 " + DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss")); Console.WriteLine("开始启动 " + DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss"));
var day = DateTime.Parse(now.AddDays(-1).ToShortDateString()); var day = DateTime.Parse(now.AddDays(-1).ToShortDateString());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment