I am newbie in Laravel and building a small project for practice.
There is one registration form and up to 100 registration done a day approx.
It return me status->pending of user.
Now my question come here that, php execution time for connection with remote Api is 30 second as per my knowledge.
Then, how can I handle the cron job in such a condition where I need to call remote api for receiving the data for every user status if it becomes "accepted" or "rejected" or still in "pending"
I am struggling with this condition and my database structure like
userId - status - created_at - updated_at
I need to call it after 20 hours if possible for all user or every 4 hours if we cannot call them at once.
What will be the best practise to do it?