Home > Article > Backend Development > About scheduled tasks
I want to write a database that can be retrieved regularly in the background and send information when the time conditions are met. How to do it?
(Beginners may have some idiotic questions, please answer patiently, thank you)
I want to write a database that can be retrieved regularly in the background and send information when the time conditions are met. How to do it?
(Beginners may have some idiotic questions, please answer patiently, thank you)
Write a php script and then use Linux crontab to execute it regularly
If you want to optimize this place for sending text messages, you can use redis to create a message queue
Just use Cron Job