Version 3.8.0 of the Bitcoin and Altcoin Wallets WordPress plugin features significant performance improvements to its cron job mechanism. This is aimed at improving scalability.
All of the plugin's cron jobs will typically run just fine, without any configuration: Once every so often, a regular HTTP request will schedule the cron jobs to run, right after WordPress renders a page or a JSON API response. These jobs run on the shutdown action so as to minimize the performance impact. As long as the WordPress Cron feature is not disabled, transactions will be executed, and the plugin will operate adequately under low to moderate load.
To get the best performance out of the plugin, you, the site's administrator can set up a cron trigger manually: The cron jobs can run on separate HTTP requests, so that end user performance is no longer affected. This will typically result in faster web server response times as seen from the browser.
wp-config.php file:
define('DISABLE_WP_CRON', true )
https://www.example.com/?__wallets_action=do_cron&__wallets_apiversion=3&__wallets_cron_nonce=53854c567d3522b37e8fe96db217debd
* * * * * /usr/bin/curl -s 'https://www.example.com/?__wallets_action=do_cron&__wallets_apiversion=3&__wallets_cron_nonce=53854c567d3522b37e8fe96db217debd'The above assumes that the curl binary is installed in
/usr/bin. Depending on your hosting environment you might need to set this entry into your WHM/Cpanel interface.Additionally, the plugin will stop running cron jobs if it detects that it is running out of allowed PHP execution time. Any remaining jobs will resume on the next cron heartbeat.
For a full list of improvements see the changelog for 3.8.0.