how to create cron job in magento 2 code example Example: run cron command line magento 2 bin/magento cronmanager:runjob <job_name>