* @author Jason 'Toolbox' Oettinger * @author Robert Down * @copyright Copyright (c) 2012 Brady Miller * @copyright Copyright (c) 2017 Jason 'Toolbox' Oettinger * @copyright Copyright (c) 2017-2022 Robert Down * @license https://github.com/openemr/openemr/blob/master/LICENSE GNU General Public License 3 */ require_once(dirname(__FILE__) . "/../../interface/globals.php"); require_once($GLOBALS['srcdir'] . "/maviq_phone_api.php"); require_once($GLOBALS['srcdir'] . "/reminders.php"); require_once($GLOBALS['srcdir'] . "/report_database.inc"); use OpenEMR\Core\Header; //Remove time limit, since script can take many minutes set_time_limit(0); // If report_id, then just going to show the report log $report_id = ($_GET['report_id']) ? $_GET['report_id'] : ""; // Set the "nice" level of the process for this script when. When the "nice" level // is increased, this cpu intensive script will have less affect on the performance // of other server activities, albeit it may negatively impact the performance // of this script (note this is only applicable for linux). if (empty($report_id) && !empty($GLOBALS['pat_rem_clin_nice'])) { proc_nice($GLOBALS['pat_rem_clin_nice']); } ?> <?php echo xlt('Patient Reminder Batch Job') ?>


" . xlt("Date of Report") . ": " . text($results_log['date_report']) . "

"; } else { $update_rem_log = update_reminders_batch_method(); $send_rem_log = send_reminders(); } ?>