How to run Stock resynchronization automatically

SOLVED

How to run  Stock resynchronization and control and Quantities entered resynautomatically every day?