<?php
/*
+--------------------------------------------------------------------+
- | CiviCRM version 4.5 |
+ | CiviCRM version 4.6 |
+--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2014 |
+ | Copyright CiviCRM LLC (c) 2004-2015 |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
| GNU Affero General Public License or the licensing of CiviCRM, |
| see the CiviCRM license FAQ at http://civicrm.org/licensing |
+--------------------------------------------------------------------+
-*/
+ */
/**
* A PHP cron script to run the outstanding and scheduled CiviMail jobs
* initiated by Owen Barton from a mailing sent by Lobo to crm-mail
*
- * The structure of the file is set to mimiic soap.php which is a stand-alone
+ * The structure of the file is set to mimic soap.php which is a stand-alone
* script and hence does not have any UF issues. You should be able to run
* this script using a web url or from the command line
*/
// you can run this program either from an apache command, or from the cli
if (php_sapi_name() == "cli") {
- require_once ("bin/cli.php");
+ require_once "bin/cli.php";
$cli = new civicrm_cli();
require_once 'CRM/Mailing/BAO/Mailing.php';
else {
run();
}
-