rvkvino's avatar

Create service to run my function for every second

I have a scenario like need to monitor the job order received from the user and have to change the status if the order reaches 5 min from the order placement. So like many users will post orders at a different time. Now I have written the code like queuing the job 5min later when the new order received. But it creates many queues for the job order. Now I feed If it is any possible method to call the general function(I have written the code) to call for every second will be better. Could you please anyone assist me which one will be better?

0 likes
0 replies

Please or to participate in this conversation.