diff --git a/app/Services/Cron.php b/app/Services/Cron.php index 2a2f74c7..768d6802 100644 --- a/app/Services/Cron.php +++ b/app/Services/Cron.php @@ -30,7 +30,7 @@ final class Cron echo "cron开始执行\n\n"; TeleSlave::log()->enableSlaveQueue(false)->send("master_cron_run:".date("Y-m-d H:i:s")); - if ($s == 0 && $i % 3 === 0) { + if ($i % 3 === 0) { TeleSlave::log()->enableSlaveQueue(false)->send("master_cron_run__hit!!:".date("Y-m-d H:i:s")); CronArticleSchema::cacheTgSave(); CronArticleSchema::pushToSlave();