My mobile phone 19:23:11 php, do a time to open the lottery function, as long as the user enters the time to open the lottery

php, do a time-to-time lottery function. As long as the user enters the lottery time, the code here will open the lottery at this time. Excuse me, what technology can be realized? The timer is too expensive!

Php
Jan.02,2022

crontab learn about


what do you mean by too much timer overhead? Generally, small timing functions can be realized with crontab. Large-scale, can be implemented using a scheduled task system provided by a third party.


crontab+ Database record Lottery time + PHP script to determine whether it is Lottery time

Menu