I am little bit confused with the Magento 1 cron jobs. I am creating a custom module and I need to sync data in third party API with cron. Firstly I set up a cron job on my server like this:
*/5 * * * * /bin/bash /path/to/magento/cron.sh
According to me this cron will run in every 5 min and will read/schedule magento crons from my custom module config file.
Here is the code of my custom module config file for cron:
<crontab>
<jobs>
<Namespace_ModuleName_sync_abandon_cart>
<schedule>
<cron_expr>*/1 * * * *</cron_expr>
</schedule>
<run>
<model>abandon/observer::syncAbandonCart</model>
</run>
</Namespace_ModuleName_sync_abandon_cart>
</jobs>
<crontab>
After setting up cron in config file for my module, I can see there in magento admin configuration. I have cronjob settings like this:
Now, I am confused from above three cron settings that when my custom module cron will run? I actually want some clarity for the cron job setup in magento 1.
Thanks in advance.