物品领用
This commit is contained in:
@@ -12,16 +12,6 @@ class CheckWeb
|
||||
|
||||
public function onWorkerStart()
|
||||
{
|
||||
// if (getenv('ENVIRONMENT') === 'master') {
|
||||
// new Crontab('0 */10 * * * *', function(){
|
||||
// $result = $this->tocurl('https://magicbridgeauto.com');
|
||||
// if (!preg_match('/magicbridgeauto/', $result['body'])) {
|
||||
// flg("【magicbridgeauto】疑似被篡改");
|
||||
// }
|
||||
// return true;
|
||||
// });
|
||||
// }
|
||||
|
||||
// 每秒执行:队列二手车数据处理
|
||||
new Crontab('* * * * * *', function(){
|
||||
$service = new \app\common\utils\crawl\service\UsedCarCrawl();
|
||||
|
||||
Reference in New Issue
Block a user