I've to insert/update/delete some data in my custom tables in each 6HR. so i'm using a custom module with CRON and in that module i've written script to insert/update/delete the things.
So for automatically hitting the CRON as i R&D
(reference link:- https://www.cloudways.com/blog/magento-2-cron-job/) and found
that i need to follow following steps :-
1- Login on the server as Super User
2- from the CLI,i need to hit "crontab -e"
3- then,i need to set following in this file
*/1 * * * * php -c <ini-file-path> <your Magento install dir>/bin/magento cron:run
*/1 * * * * php -c <ini-file-path> <your Magento install dir>/update/cron.php
*/1 * * * * php -c <ini-file-path> <your Magento install dir>/bin/magento setup:cron:run
Where "ini-file-path" => https://nimb.ws/fx1p70
"your Magento install dir"=> you can get via DIR
Which is exactly working for me,but by doing this indexing,orders etc crons are also automatically running but i want to run automatically my custom module "custom_cronjob" CRON only
Here is the screenshot:- https://nimb.ws/zoVApY
How can i achieve the same and avoid other CRONs?
Please help me!!!