Skip to content

Commit

Permalink
Fix : clear transfer cron error
Browse files Browse the repository at this point in the history
  • Loading branch information
sendya committed Jun 1, 2016
1 parent db42654 commit f1184be
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Library/Helper/Cron/ClearTransfer.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

use Contactable\ICron;

use Core\Database;
use Core\Database as DB;

/**
* 计划任务 - ClearTransfer
Expand Down Expand Up @@ -41,6 +41,6 @@ public function run()

public function getStep()
{
return strtotime(date('Y-m-01 00:00:00', strtotime("1 month"))); // 下个月
return strtotime(date('Y-m-01 00:00:01', strtotime("1 month"))); // 下个月
}
}

0 comments on commit f1184be

Please sign in to comment.