Run MailBeez automatically
Plan availability
Note
A "real" Cronjob is the most reliable way to automize MailBeez. This module is a simple alternative solution.
About This Module
With this simple Mailbeez add-on, you can do away with the need to configure a cronjob to activate your Mailbeez installed modules. Instead, the plugin cleverly utilizes your store’s traffic to trigger Mailbeez as often as you have configured it to run. For site owners looking to get up and running quickly, or who do not wish to enter the server environment to setup a Cronjob, this is a very handy feature.
Lightweight and fast
Thanks to time stamp based caching technology, the additional load added to your store’s pages by the add-on is extremely small. In fact, with the aid of modern AJAX technology, visitors to your store will not feel or notice any difference, as the add-on only triggers MailBeez after a page has loaded completely.
Installation
Note
The Store Systems Gambio Version 2.3 and Modified-Shop 2.0 are pre-integrated with MailBeez so following steps are not necessary.
osCommerce
Edit <store-root>/includes/footer.php as follows: At the end of the file, but before the closing ?> tag, insert the following code:
// MailBeez
if (defined('MAILBEEZ_CRON_SIMPLE_STATUS') && MAILBEEZ_CRON_SIMPLE_STATUS == 'True') {
require_once(DIR_FS_CATALOG . 'mailhive/configbeez/config_cron_simple/includes/cron_simple_inc.php');
}
// - MailBeez
To avoid "/mailhive.php?cron_simple=1" page calls in the 'who is online' table, edit <store-root>/includes/functions/whos_online.php as follows:
find
$wo_last_page_url = getenv('REQUEST_URI');
after the above code is located, insert this after it:
// MailBeez
// avoid /mailhive.php?cron_simple=1 in who is online table
if (preg_match("/mailhive.php/", $wo_last_page_url)) {
return false;
}
// - MailBeez
Zencart
Edit <store-root>/includes/modules/footer.php as follows: At the end of the file, but before the closing ?> tag, insert the following code:
// MailBeez
if (defined('MAILBEEZ_CRON_SIMPLE_STATUS') && MAILBEEZ_CRON_SIMPLE_STATUS == 'True') {
require_once(DIR_FS_CATALOG . 'mailhive/configbeez/config_cron_simple/includes/cron_simple_inc.php');
}
// - MailBeez
To avoid "/mailhive.php?cron_simple=1" page calls in the 'who is online' table, edit <store-root>/includes/functions/whos_online.php as follows:
Find the line containing
$wo_last_page_url = (...)');
after the above code is located, insert this after it:
// MailBeez
// avoid /mailhive.php?cron_simple=1 in who is online table
if (preg_match("/mailhive.php/", $wo_last_page_url)) {
return false;
}
// - MailBeez
Gambio 2.x, Modified-Shop 1.x
Edit includes/application_bottom.php as follows: Find the line contain
echo '</body></html>';
and above this line insert following code:
// MailBeez
if (defined('MAILBEEZ_CRON_SIMPLE_STATUS') && MAILBEEZ_CRON_SIMPLE_STATUS == 'True') {
require_once(DIR_FS_CATALOG . 'mailhive/configbeez/config_cron_simple/includes/cron_simple_inc.php');
}
// - MailBeez
To avoid "/mailhive.php?cron_simple=1" page calls in the 'who is online' table, edit inc/xtc_update_whos_online.inc.php as follows:
Find
$wo_last_page_url = addslashes(getenv('REQUEST_URI'));
and insert after this line:
// MailBeez
// avoid /mailhive.php?cron_simple=1 in who is online table
if (preg_match("/mailhive.php/", $wo_last_page_url)) {
return false;
}
// - MailBeez
Compatibility
-
Gambio GX2–GX5
Supported -
Modified Shop 1.x / 2.x / 3.x
Supported -
Zen Cart 1.3.x / 1.5.x / 2.x
Supported -
osCommerce 2.xSupported
-
MailBeez.io API V2Not supported
Changelog
v5.2
13.11.2026
- Improved
- MailBeez V5 support
v5.1
22.10.2026
- Improved
- MailBeez V5 support
v5.0
21.10.2026
- Improved
- MailBeez V5 support
v4.2.2
15.01.2024
- Improved
- PHP8.2 refactoring
v4.2.1
03.11.2022
- Improved
- PHP8.1 refactoring
v4.2.0
14.10.2022
- Improved
- PHP8 refactoring
v4.0.1
22.05.2020
- Bugfix
- php error on zencart
v4.0.0
21.04.2020
- Improved
- PHP7.4 refactoring
- Support for 4.0 Core Framework
v3.5
24.09.2018
- Improved
- PHP7.2 refactoring
v3.41
01.11.2017
- Improved
- refactoring
v3.4
05.12.2016
- Improved
- optimized frontend runner script
v3.3
13.09.2016
- Improved
- PHP7 compatibility
- framework updates
v3.22
02.11.2015
- Improved
- Gambio 2.5 integration support
v3.0
03.11.2014
- New
- ready for MailBeez V3.0
- changelog started