最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

plugin development - How to perform a heavy and long process in cron jobs?

programmeradmin0浏览0评论

I have a table in my database that has more than 1000 records and new records can add anytime. I run a process on every record of this table daily. I use an event scheduler to do so in WordPress. But as you might know, The runtime of background processes is limited and I think I should break this into multiple processes. Yet I want to know that if I should break the big process, what is the best way to do it? Or do you suggest another way to handle this walker on every record?

发布评论

评论列表(0)

  1. 暂无评论