Script auto disable product on prestashop

Job ID: 38114265

Budget: €8 – €30 EUR

Hello everyone. I need a query for prestashop version 1.7.8.10. I need to run 2 times a day a check script on products that have quantity 0. When I have quantity 0, I need to disable the product.
I need a script that performs this operation 2 times a day.
Related categories: PHP Prestashop MySQL