Answer the question
In order to leave comments, you need to log in
How to trigger event processing by time?
Good afternoon!
There is the following task: the table contains a list of events, each of which must be performed at a specific time (according to the field that specifies the date and time). When this moment comes, you need to run a script that will take the parameters from the table and make several POST requests.
At the moment, this is implemented through cron, when every minute the presence of records in the table for the same minute is checked. If there are several records at the same time, then a fork will be made for each.
However, such an implementation, from the standpoint of my little experience, looks somewhat clumsy. Perhaps there is a more elegant solution to this problem?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question