Actualización
This commit is contained in:
18
main/cron/notification.php
Normal file
18
main/cron/notification.php
Normal file
@@ -0,0 +1,18 @@
|
||||
<?php
|
||||
|
||||
/* For licensing terms, see /license.txt */
|
||||
|
||||
/**
|
||||
* @author Julio Montoya <gugli100@gmail.com>
|
||||
*/
|
||||
if (PHP_SAPI !== 'cli') {
|
||||
exit('Run this script through the command line or comment this line in the code');
|
||||
}
|
||||
|
||||
require_once __DIR__.'/../inc/global.inc.php';
|
||||
|
||||
/**
|
||||
* Notification sending.
|
||||
*/
|
||||
$notify = new Notification();
|
||||
$notify->send();
|
||||
Reference in New Issue
Block a user