magento 2 manually run cron code example
Example 1: magento 2 configure cron command line
bin/magento cron:install
Example 2: run cron command line magento 2
bin/magento cronmanager:runjob <job_name>
bin/magento cron:install
bin/magento cronmanager:runjob <job_name>