This repository has been archived on 2024-06-26. You can view files and clone it, but cannot push or open issues or pull requests.
sakura/app/Console/Command/CronCommand.php
2016-12-22 19:10:09 +01:00

36 lines
785 B
PHP

<?php
/**
* Holds the cron command.
* @package Sakura
*/
namespace Sakura\Console\Command;
use CLIFramework\ChainedCommand;
/**
* Runs all data update commands chained.
* @package Sakura
* @author Julian van de Groep <me@flash.moe>
*/
class CronCommand extends ChainedCommand
{
/**
* A quick description of this command.
* @return string.
*/
public function brief(): string
{
return 'Runs all data update commands chained.';
}
public $commands = [
PurgeInactiveUsersCommand::class,
SessionPurgeCommand::class,
PremiumPurgeCommand::class,
StatusCheckCommand::class,
ResyncForumStatsCommand::class,
RebuildForumCacheCommand::class,
OsuLeaderboardUpdateCommand::class,
];
}