<?php
/**
* Holds the cron command.
* @package Sakura
*/
namespace Sakura\Console\Command;
use CLIFramework\ChainedCommand;
* Runs all data update commands chained.
* @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,
RebuildForumCacheCommand::class,
OsuLeaderboardUpdateCommand::class,
];