Make notifications response when the job is completed
<p>I am using Symfony framework3 with Pheanstalk bundle and Doctrine. I creating the event which sends data to beanstalk. The other SF app on the different server perform a job and update notification status on the first SF app to completed. How can I check when the status is updated and than set alert like that:</p>

<p><a href="http://byrobin.nl/store/wp-content/uploads/sites/4/2016/03/local.png" rel="nofollow">http://byrobin.nl/store/wp-content/uploads/sites/4/2016/03/local.png</a> </p>

<p>I can create a command that have infinitive loop and checking for status update, maybe listener on preUpdate? Also I have the same problem with running command that checking and executing beanstalk jobs. In dev mode i run it by hand, but i try infinitive loop like while(true) but it load my buffer and crash. I was thinking of cron job that runs every minute or two? What is best solution for this two problems? Any advice?</p>