Shopware6 Schedule task stop working after some time

Hello All,

I am creating a new plugin foe Sync the products from one shop to another. For this i am trying to add scheduled task. its working for when i install the plugin. but after some time it stop working. I also tried the command for this bin/console scheduled-task:run --memory-limit=128M . But its not working,

Please help me if anyone have clue what i am doing wrong.