title: Simple daemon with Symfony
body: <p>I've got a symfony2 (php framework) app for which I've written a command that can be called from the command line. This command simply checks a table in the database for a task, then executes that task. What I need is a daemon-like creature that will enable this command to be run in the background whenever a row is inserted into this (mysql) database table. I can't do this with a cron job because the tasks required need to happen as quickly as possible, and will often need to happen in parallel.</p>
  
  <p>Am I looking at this all wrong? </p>
  
  <p>Server: Ubuntu 11.10
  PHP: 5.3
  Symfony: 2.1
  mysql: 5.1.66</p>