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

admin2025-03-20  5

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?

转载请注明原文地址:http://conceptsofalgorithm.com/Algorithm/1742416472a212686.html

最新回复(0)