mirror of
https://github.com/FOSSBilling/FOSSBilling.git
synced 2026-11-09 13:36:07 +09:00
22 lines
534 B
PHP
22 lines
534 B
PHP
<?php
|
|
/**
|
|
* BoxBilling
|
|
*
|
|
* @copyright BoxBilling, Inc (http://www.boxbilling.com)
|
|
* @license Apache-2.0
|
|
*
|
|
* Copyright BoxBilling, Inc
|
|
* This source file is subject to the Apache-2.0 License that is bundled
|
|
* with this source code in the file LICENSE
|
|
*/
|
|
|
|
|
|
require_once dirname(__FILE__) . '/bb-load.php';
|
|
$di = include dirname(__FILE__) . '/bb-di.php';
|
|
$di['translate']();
|
|
|
|
$interval = isset($argv[1]) ? $argv[1] : null;
|
|
$service = $di['mod_service']('cron');
|
|
$service->runCrons($interval);
|
|
|
|
unset($service, $interval, $di); |