webman如何做定时任务访问curl

songjean

webman如何做定时任务访问curl

235 1 0
1个回答

不败少龙
new Crontab('*/10 * * * * *', function(){
            //url请求处理
    });

或者用定时器Timer::add
  • 暂无评论
🔝