<?php define('_PS_ADMIN_DIR_', getcwd()); define('PS_ADMIN_DIR', _PS_ADMIN_DIR_); // Retro-compatibility error_reporting(0); include PS_ADMIN_DIR . '/../config/config.inc.php'; include PS_ADMIN_DIR . '/functions.php'; global $link; $link = new Link(); ThirdPartyStockSync::updateQuantityCron();
<?php define('_PS_ADMIN_DIR_', getcwd()); define('PS_ADMIN_DIR', _PS_ADMIN_DIR_); // Retro-compatibility error_reporting(0); include PS_ADMIN_DIR . '/../config/config.inc.php'; include PS_ADMIN_DIR . '/functions.php'; ThirdPartyStockSync::setAsideCron();
private static function send_log_mail($type) { self::$alert_data = implode("<br/>\n", self::$alert_data); self::sendmail("Stock Sync {$type} Log", self::$alert_data, self::$csv_data); }