I also use self::dispatch () in the queue to invoke the task itself. It didn"t stop until some conditions were reached. Now I need to stop ahead of time in the middle of the execution. What should I do?
I also use self::dispatch () in the queue to invoke the task itself. It didn"t stop until some conditions were reached. Now I need to stop ahead of time in the middle of the execution. What should I do?
stop the queue directly, clear the queue data, or manually go to the queue database to clear the data you want to clear
after the program listens for a change in a resource (file, database value), it automatically stops throwing an exception.
end the process directly. Without making the situation in Mode 1 in advance, the program cannot make a controllable stop once it is run. This is a dangerous way! Use it carefully! Use it carefully!
Previous: Echarts xAxis displays names only on both sides
Next: Vue v-model uses the value in state and still reports an error according to the official website.
< H1 > Controller < H1 > <?php namespace App Jobs; use App User; use Illuminate Bus Queueable; use Illuminate Queue SerializesModels; use Illuminate Queue InteractsWithQueue; use Illuminate Contracts Queue ShouldQueue; use Illuminate F...