In Magento 1.X we have a field "parameters" in the cron_schedule table. However I don't see it in Magento 2.X
So how can we have parameters for cron jobs in Magento 2? Any suggestions?
Magento Stack Exchange is a question and answer site for users of the Magento e-Commerce platform. It only takes a minute to sign up.Sign up to join this community
Spent some time on this and further look into the Schema files and found that there is no "parameters" field in the cron_schedule table by default Magento.
However found that this field was added to the table by a thirdparty extension https://github.com/AOEpeople/Aoe_Scheduler
So my solution for this is either add the field to cron_schedule table or create a new table and join with cron_schedule table as per your requirement. Hope it helps.
Feel free to comment if you have any better suggestions.