From f1184be0f7055304a88464e182a1e44e23a56949 Mon Sep 17 00:00:00 2001 From: Sendya <18x@loacg.com> Date: Wed, 1 Jun 2016 09:38:40 +0800 Subject: [PATCH] Fix : clear transfer cron error --- Library/Helper/Cron/ClearTransfer.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Library/Helper/Cron/ClearTransfer.php b/Library/Helper/Cron/ClearTransfer.php index d86d4073..440b19e0 100644 --- a/Library/Helper/Cron/ClearTransfer.php +++ b/Library/Helper/Cron/ClearTransfer.php @@ -9,7 +9,7 @@ use Contactable\ICron; -use Core\Database; +use Core\Database as DB; /** * 计划任务 - ClearTransfer @@ -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"))); // 下个月 } } \ No newline at end of file