no message
This commit is contained in:
parent
6a6eab0f2e
commit
ec5cd492eb
@ -55,7 +55,15 @@ class CronController
|
||||
$this->run($aArticle);
|
||||
}
|
||||
|
||||
// inday_count规则
|
||||
$iRand = rand(1, 1440);
|
||||
// $iRand = 1;
|
||||
$oIndayArticle = Article::where("inday_count", ">=", $iRand)->where("status", 1)->get(); // inday24 >= rand10
|
||||
if (!empty($oIndayArticle)) {
|
||||
$this->run($oIndayArticle);
|
||||
}
|
||||
|
||||
// i%7==0
|
||||
$aConditions = Article::select('cron_condition')
|
||||
->where('status', 1)
|
||||
->distinct()
|
||||
|
||||
Loading…
Reference in New Issue
Block a user