There are certain tasks in Magento2 that are repetitive such as running a custom cron after a fixed time period, or remove a directory after caching.
You can turn many of these boring processes into one-command affairs by using the method to create console command in Magento 2.
The custom console commands in Magento 2 are very helpful when you want to perform tasks that are repetitive and are to be done in the same manner every time!
For more details, visit https://meetanshi.com/blog/create-console-command-in-magento-2/
No comments:
Write comments