There are sure undertakings that you do in a Magento 2 store that are ordinary and monotonous and, sadly, they're likewise frequently the most significant. For instance, pursuing a custom cron a proper time span, or eliminate an index subsequent to reserving.
Be that as it may, you can transform a significant number of these drilling processes into one-order undertakings by utilizing the underneath strategy to create console command Magento 2.
The custom control center orders in Magento 2 are extremely useful when you need to perform errands that are tedious and are to be finished in a similar way like clockwork!
For more info: https://meetanshi.com/blog/create-console-command-in-magento-2/