This is the command i was reffering to "prefect agent start -q [work queue name]" and i am using prefect 2 , my bash script looks like this , prefect agent start -q [work queue name] & prefect agent start -q [work queue name] && fg , when i execute this bash script it works fine and prefect was able to pickup it up , but after a day all the tasks were falling and it shows red mark on the worker , and when i run the bash script again it works perfectly fine