Answer the question
In order to leave comments, you need to log in
How to run php script after 5 minutes?
Basically, I want to do something like this. Let's say the user has just registered and I need to send him an email, but not immediately, but after 5 minutes. Any ideas how this can be implemented? I would like the best possible solution, thanks!
Answer the question
In order to leave comments, you need to log in
When registering, set the status, conditionally, to 1. Using the script that is specified in cron, bypass all statuses from 1, send mail and set status 2.
You can create a task and put it in a queue with a delay of 5 minutes.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question