no message
This commit is contained in:
parent
2ded790bd0
commit
bc3f2d9a81
@ -44,8 +44,9 @@ class CronController
|
||||
// i_in10规则
|
||||
$iIin10 = $i[1];
|
||||
$aArticle = Article::where("i_in10", $iIin10)->where("status", 1)->get()->toArray();
|
||||
|
||||
$this->run($aArticle);
|
||||
if (!empty($aArticle)) {
|
||||
$this->run($aArticle);
|
||||
}
|
||||
|
||||
|
||||
$aConditions = Article::select('cron_condition')
|
||||
|
||||
@ -19,7 +19,8 @@ class Cmd extends Base {
|
||||
'文章set' => 'Article#Set__id__fild set',
|
||||
// '添加github的sshhost' => "System#AddSshHostGithub",
|
||||
'文章clone' => "article#clone id",
|
||||
'手动pullR' => "article#clone id",
|
||||
'git手动重置' => "git#pullR",
|
||||
'文章find' => "article#find id",
|
||||
];
|
||||
|
||||
$this->oTGHttp->sendToTG(json_encode($aCmdList, JSON_UNESCAPED_UNICODE | JSON_PRETTY_PRINT));
|
||||
|
||||
Loading…
Reference in New Issue
Block a user