This commit is contained in:
toom1996
2025-07-30 11:52:33 +08:00
parent 1b36a808a8
commit 6f56e18661
7 changed files with 95 additions and 212 deletions

7
config/crontabs.php Normal file
View File

@ -0,0 +1,7 @@
<?php
// config/crontabs.php
use Hyperf\Crontab\Schedule;
// 百度自动查收录
// 每12个小时运行一次
Schedule::command('spider:baidu-record')->setName('spider:baidu-record')->setRule('0 */12 * * *');