Feature request: Run a process by id number - CI4/Queue |
-
mehmet Newbie

-
Posts: 3
Threads: 2
Joined: Jul 2020
Reputation:
0
09-11-2024, 11:14 PM
(This post was last modified: 09-11-2024, 11:15 PM by mehmet.)
We queue the processes and make them work well with the help of cron job, but in some cases we may need to keep the cron job duration long, for example once an hour or once a day, and in some processes we may want the queued record to be processed directly.
To give an example for this;- Password reset e-mails or sms
- Single-use code submissions (email and sms)
It would be nice if an id value is returned to us when we save it in the process queue and we can directly start the process according to the id value as a command.
Or
It would be very nice if we can add an additional method that we can run directly at the same time at the time of queuing the process, such as “->run()”.
If there is a different method that I do not know for the subject I mentioned, I would appreciate if you inform me.
|