Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
413 views
in Technique[技术] by (71.8m points)

php 定时执行任务问题

我想用mysql某张表某个字段的值作为触发时间,定时去推送。
mysql的事件不能做推送,php不能实时监控mysql的时间。请问该怎么解决?
由于事件比较多 每天有几千条,怎么能占用最少资源的方式解决问题?


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

redis 做一个以mysql时间字段为触发时间的服务 定时推送

具体 你可以找下redis实现的步骤!redis肯定可以实现!


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...