I am trying to remove the
cron jobs in
Magento 2. In
I get the following output.
Magento docs I found out that I need to run the command
php bin/magento cron:remove
to disable cron but it is not working. After running this command when I run "crontab -l" I still see the cron jobs code between #~ MAGENTO START and #~MAGENTO END.
I also checked the cron_schedule table to be sure If the cron was running and yes this table is still getting populated with new rows. I have read somewhere that I need to remove cron only before uninstalling Magento but it is a staging environment and I do not need cron jobs here.
What I am doing wrong as I found this command in Magento docs to remove cron?