addCrontab 添加的定时任务没有执行
vincent66666 opened this issue · comments
$app->addCrontab('* * * * * *', function(){
$this->get(StdoutLoggerInterface::class)->info('execute every second!');
});
addCrontab 添加的定时任务没有运行执行
第一个整分之后才会开始执行 和hyperf一样。
Hi Reasno,
can you help me how i can run this in background of my application hosted on Cloud foundry?
Hi Reasno,
can you help me how i can run this in background of my application hosted on Cloud foundry?
You can try the official docker image provided by hyperf. Just change the entry point to whatever you need.