Issue with a cron task. (php 7.4, silverstripe 4.8).
There is a Product downloader Cron task, it is getting product data from API and create products or update products.
I just wanted to add new db field(boolean) to product(verified_last).
Issue is cron task cannot add value to verified_last field. No issue with old db fields.
And also I have tried different ways, notice that cannot read newly created db fields also.
If I try a dev task with git user it is write to that field.
In the CMS also we can set the value.
and locally no issue.
Only thing cron task cannot access new db fields.
Any advice would be helpful. Thank you.