هذه الإضافة لم يتم تحديثها وتجربتها لأكثر من 3 إصدارات ووردبريس رئيسية. قد لا تكون خاضعة للصيانة أو تقدم الدعم والمساعدة بالوقت الحالي وقد تكون بها مشاكل في التوافق عند إستخدامها مع إصدارات حديثة من ووردبريس.

MultiSite System Cron

الوصف

The WordPress Cron implementation needs web visits to be triggered regularly.

If you don’t want to depend on the possible visits, or need a more accurate cron requests, it’s easy to setup the Linux crontab to replace the WP-Cron system.

Simply disable the WP-Cron adding the constant DISABLE_WP_CRON to the wp-config.php file, and create a new crontab line with wget or curl commands fetching the wp-cron.php URL of your blog.

But for WordPress MultiSite installs you will need one crontab line for each blog and, if you have many blogs, it is not simple to maintain and configure all the cron calls.

Also, there is a risk to overlap requests, possibly affecting server performance or WordPress behaviour.

The aim of this plugin is to provide a method to implement Linux cron requests for WordPress MultiSite with only one line in the Linux crontab.

This only one request points to the main blog cron URL, but with special arguments, ensuring a controlled and private cron requests.

Then, from the main blog is performed a propagation process, calling one by one all the network blogs (also with privacy URL arguments).

In the network settings of this plugin you can setup the frecuency of this process, the time between each blog cron calls, estimate all the process duration to avoid overlapping, consulting amount of time of all cron processes, etc.

Obviously, this configuration depends of your number of blogs, the desired frecuency of cron calls and/or the performance capabilities of your server, so you will need some testing to achieve the proper parameters.

لقطات الشاشة

  • Settings screen

التنصيب

  1. Unzip and upload multisite-system-cron folder to the /wp-content/plugins/ directory
  2. From the network administration area, activate the plugin through the ‘Plugins’ menu in WordPress
  3. Go to the network menu Settings > MultiSite System Cron to configure this plugin

الأسئلة المتكررّة

It works with no-multisite installs?

No, it’s not necessary. You can get the same result with a single line of crontab.

المراجعات

3 سبتمبر، 2016
Doing this sped up my multisites, disabling wp-cron.php to run every single time a page is loaded, and put the strain back on the server - reclaiming the overused resources that my hosting provider was penalising me for.
إقرأ جميع المراجعات 2

المساهمون والمطوّرون

“MultiSite System Cron” هو برنامج مفتوح المصدر. وقد ساهم هؤلاء الأشخاص بالأسفل في هذه الإضافة.

المساهمون

ترجمة ”MultiSite System Cron“ إلى لغتك.

مُهتم بالتطوير؟

تصفّح الشفرة، تحقق من مستودع SVN، أو الاشتراك في سجل التطوير بواسطة RSS.

سجل التغييرات

1.0

Release Date: July 14th, 2015

  • First and tested released until WordPress 4.2.2
  • Tested code from WordPress 3.3.2 version.