blob: e5541389ff6dbaeef41a72916f385f43573d5d9e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
<?php
// Icinga Reporting | (c) 2018 Icinga GmbH | GPLv2
namespace Icinga\Module\Reporting\Clicommands;
use Icinga\Module\Reporting\Cli\Command;
use Icinga\Module\Reporting\Scheduler;
class ScheduleCommand extends Command
{
/**
* Run all configured reports based on their schedule
*
* USAGE:
*
* icingacli reporting schedule run
*/
public function runAction()
{
$scheduler = new Scheduler($this->getDb());
$scheduler->run();
}
}
|