|
@@ -1638,17 +1638,17 @@ namespace MySystem
|
|
|
{
|
|
|
while (true)
|
|
|
{
|
|
|
- // if(DateTime.Now.Day == 1 && 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();
|
|
|
- // }
|
|
|
- // }
|
|
|
- ProfitHelperV2.Instance.StatProfit();
|
|
|
+ if(DateTime.Now.Day == 3 && 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();
|
|
|
+ // }
|
|
|
+ ProfitHelperV2.Instance.StatProfit();
|
|
|
+ }
|
|
|
Thread.Sleep(600000);
|
|
|
}
|
|
|
}
|