Laravel: How to programmatically run job for 5 times if failed?

后端 未结 0 1565
星月不相逢
星月不相逢 2021-01-21 06:57

This is the code for job and I need to run the job after 5 seconds for only 5 times if it fails. Before diving into code, the $this->attempts() always return 1 s

相关标签:
回答
  • 消灭零回复
提交回复
热议问题