diff --git a/app/Console/Command/CronCommand.php b/app/Console/Command/CronCommand.php new file mode 100644 index 0000000..c405a60 --- /dev/null +++ b/app/Console/Command/CronCommand.php @@ -0,0 +1,34 @@ + + */ +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 = [ + PremiumPurgeCommand::class, + PurgeInactiveUsersCommand::class, + RebuildForumCacheCommand::class, + SessionPurgeCommand::class, + StatusCheckCommand::class, + ]; +}