How to add custom cron tasks

How to add custom cron tasks

Magento has provided CLI commands to work with cron tasks since version 2.2.0

cron:install - generates and installs crontab for a current user and a current instance

cron:remove - removes tasks from crontab

An example of what contains crontab after running cron:install:

#~ MAGENTO STAR...
Continue reading...