|
@@ -1704,7 +1704,7 @@ namespace MySystem
|
|
|
{
|
|
|
while (true)
|
|
|
{
|
|
|
- if(DateTime.Now.Day <= 3 && DateTime.Now.Hour > 1)
|
|
|
+ if(DateTime.Now.Day == 1 && DateTime.Now.Hour > 2)
|
|
|
{
|
|
|
string Month = DateTime.Now.AddDays(-1).ToString("yyyy-MM");
|
|
|
string flag = function.ReadInstance("/ProfitFlag/" + Month + ".txt");
|
|
@@ -1714,7 +1714,7 @@ namespace MySystem
|
|
|
StatUserLevelStart();
|
|
|
}
|
|
|
}
|
|
|
- Thread.Sleep(60000);
|
|
|
+ Thread.Sleep(600000);
|
|
|
}
|
|
|
}
|
|
|
public void StatUserLevelStart()
|
|
@@ -1789,7 +1789,7 @@ namespace MySystem
|
|
|
}
|
|
|
db.Dispose();
|
|
|
|
|
|
- // ProfitHelperV2.Instance.StatProfit(); //统计分润
|
|
|
+ ProfitHelperV2.Instance.StatProfit(); //统计分润
|
|
|
}
|
|
|
public void StatUserLevelStartTest()
|
|
|
{
|