no message

This commit is contained in:
hellcat 2025-12-19 15:40:15 +08:00
parent d61ac129dc
commit 4717641c9f
2 changed files with 5 additions and 2 deletions

View File

@ -65,7 +65,7 @@ final class Cron
}
if ($h == 15 && $i == 3) {
CronFreenodeLog::fromLast();
// CronFreenodeLog::fromLast();
}
} catch (\Throwable $e) {

View File

@ -148,6 +148,8 @@ final class FreenodeCrawl
{
echo "\nCrawlFreenode::run - 开始\n";
$sDirBase = $_ENV["dir_base"];
$aFromList = ModelCrawlFreenode::where("status", 1)->get()->toArray();
foreach ($aFromList as $aFrom) {
@ -177,7 +179,8 @@ final class FreenodeCrawl
$sFileContent = $sFileRow["file_content"];
$sDir = "freenode/from/".$aFrom["name"];
$sDir = $sDirBase."public/freenode/from/".$aFrom["name"];
// tomd($sDir, 1);
$sPath = $sDir."/".$sFileName;
if (!is_dir($sDir)) {