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

37 lines
785 B
PHP
Raw Normal View History

2016-12-11 14:49:40 +00:00
<?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,
2016-12-11 18:51:45 +00:00
PremiumPurgeCommand::class,
2016-12-11 14:49:40 +00:00
StatusCheckCommand::class,
2016-12-22 18:10:09 +00:00
ResyncForumStatsCommand::class,
2016-12-11 18:51:45 +00:00
RebuildForumCacheCommand::class,
OsuLeaderboardUpdateCommand::class,
2016-12-11 14:49:40 +00:00
];
}