22定时任务请求别人网站,过段时间有一两个不执行了

luchao1976

->addTask('task1', '/1 ', \app\crontab\tasks\Cp1Task::class)
->addTask('task2', '/1 ', \app\crontab\tasks\Cp2Task::class)
->addTask('task3', '/1 ', \app\crontab\tasks\Cp3Task::class)
->addTask('task4', '/1 ', \app\crontab\tasks\Cp4Task::class)
->addTask('task5', '/1 ', \app\crontab\tasks\Cp5Task::class)
->addTask('task6', '/1 ', \app\crontab\tasks\Cp6Task::class)
->addTask('task7', '/1 ', \app\crontab\tasks\Cp7Task::class)
->addTask('task8', '/1 ', \app\crontab\tasks\Cp8Task::class)
->addTask('task9', '/1 ', \app\crontab\tasks\Cp9Task::class)
->addTask('task10', '/1 ', \app\crontab\tasks\Cp10Task::class)
->addTask('task11', '/1 ', \app\crontab\tasks\Cp11Task::class)
->addTask('task12', '/1 ', \app\crontab\tasks\Cp12Task::class)
->addTask('task13', '/1 ', \app\crontab\tasks\Cp13Task::class)
->addTask('task14', '/1 ', \app\crontab\tasks\Cp14Task::class)
->addTask('task15', '/1 ', \app\crontab\tasks\Cp15Task::class)
->addTask('task16', '/1 ', \app\crontab\tasks\Cp16Task::class)
->addTask('task17', '/1 ', \app\crontab\tasks\Cp17Task::class)
->addTask('task18', '/1 ', \app\crontab\tasks\Cp18Task::class)
->addTask('task19', '/1 ', \app\crontab\tasks\Cp19Task::class)
->addTask('task20', '/1 ', \app\crontab\tasks\Cp20Task::class)
->addTask('task21', '/1 ', \app\crontab\tasks\Cp21Task::class)
->addTask('task22', '/1 ', \app\crontab\tasks\Cp22Task::class)

22定时任务请求别人网站,过段时间有一两个不执行了

519 1 0
1个回答

efnic

请求别人网站,要设置超时。

  • 暂无评论
×
🔝