Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
I tried to create custom cron job and it's all works, but how can I turn it off so it will not run again.
I already tried to comment (//) the cron job in crontab.xml but it's not working.
Just clear the cache and to prevent already scheduled tasks, clear the cron_schedule table (or specifically remove all rows with the tag of your custom cron job.)
Required, but never shown