no message
This commit is contained in:
parent
d61ac129dc
commit
4717641c9f
@ -65,7 +65,7 @@ final class Cron
|
|||||||
}
|
}
|
||||||
|
|
||||||
if ($h == 15 && $i == 3) {
|
if ($h == 15 && $i == 3) {
|
||||||
CronFreenodeLog::fromLast();
|
// CronFreenodeLog::fromLast();
|
||||||
}
|
}
|
||||||
|
|
||||||
} catch (\Throwable $e) {
|
} catch (\Throwable $e) {
|
||||||
|
|||||||
@ -148,6 +148,8 @@ final class FreenodeCrawl
|
|||||||
{
|
{
|
||||||
echo "\nCrawlFreenode::run - 开始\n";
|
echo "\nCrawlFreenode::run - 开始\n";
|
||||||
|
|
||||||
|
$sDirBase = $_ENV["dir_base"];
|
||||||
|
|
||||||
$aFromList = ModelCrawlFreenode::where("status", 1)->get()->toArray();
|
$aFromList = ModelCrawlFreenode::where("status", 1)->get()->toArray();
|
||||||
|
|
||||||
foreach ($aFromList as $aFrom) {
|
foreach ($aFromList as $aFrom) {
|
||||||
@ -177,7 +179,8 @@ final class FreenodeCrawl
|
|||||||
|
|
||||||
$sFileContent = $sFileRow["file_content"];
|
$sFileContent = $sFileRow["file_content"];
|
||||||
|
|
||||||
$sDir = "freenode/from/".$aFrom["name"];
|
$sDir = $sDirBase."public/freenode/from/".$aFrom["name"];
|
||||||
|
// tomd($sDir, 1);
|
||||||
$sPath = $sDir."/".$sFileName;
|
$sPath = $sDir."/".$sFileName;
|
||||||
|
|
||||||
if (!is_dir($sDir)) {
|
if (!is_dir($sDir)) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user