M
M
Michael2017-04-23 21:09:53
linux
Michael, 2017-04-23 21:09:53

How to properly organize the task schedule?

Good afternoon.
There is a service that organizes the sending of mail at a given time. Accordingly, the time is set by the user. What is the right way to call the script to send at the right time?
That is, checking with a crown every minute for the time of sending, probably a stupid option?
Maybe there are more rational solutions?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Roman Frank, 2017-04-23
@mix_gorbachev

Google towards the queues.
Depending on what you use on your backend, the same laravel has a queue mechanism.
You can also try www.celeryproject.org

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question