|
@@ -1725,15 +1725,16 @@ namespace MySystem
|
|
|
{
|
|
|
while (true)
|
|
|
{
|
|
|
- if(DateTime.Now.Day == 1 && DateTime.Now.Hour > 2)
|
|
|
+ if(DateTime.Now.Day == 2 && DateTime.Now.Hour > 4)
|
|
|
{
|
|
|
- string Month = DateTime.Now.AddDays(-1).ToString("yyyy-MM");
|
|
|
- string flag = function.ReadInstance("/ProfitFlag/" + Month + ".txt");
|
|
|
- if (string.IsNullOrEmpty(flag))
|
|
|
- {
|
|
|
- function.WritePage("/ProfitFlag/", Month + ".txt", DateTime.Now.ToString("HH:mm:ss"));
|
|
|
- StatUserLevelStart();
|
|
|
- }
|
|
|
+ // string Month = DateTime.Now.AddDays(-1).ToString("yyyy-MM");
|
|
|
+ // string flag = function.ReadInstance("/ProfitFlag/" + Month + ".txt");
|
|
|
+ // if (string.IsNullOrEmpty(flag))
|
|
|
+ // {
|
|
|
+ // function.WritePage("/ProfitFlag/", Month + ".txt", DateTime.Now.ToString("HH:mm:ss"));
|
|
|
+ // StatUserLevelStart();
|
|
|
+ // }
|
|
|
+ ProfitHelperV2.Instance.StatProfit();
|
|
|
}
|
|
|
Thread.Sleep(600000);
|
|
|
}
|