title: php-resque job perform function not executed?
body: <p>I'm trying to make a background job with php-resque. I have this code:</p>
  
  <pre><code>\Resque::setBackend('127.0.0.1:6379');
  \Resque::enqueue('default', '\BaseModule\Jobs\Mail',  array());
  </code></pre>
  
  <p>and in Mail class i have this</p>
  
  <pre><code>class Mail
  {
  
     public function perform()
      {
              lakdf;  
      }
  }
  </code></pre>
  
  <p>The mistake on "lakdf;" is here on purpose.</p>
  
  <p>When I turn on monitor on my redis and try to execute job it write this:</p>
  
  <pre><code>1387283121.312817 [0 127.0.0.1:32827] "set" "resque:worker:michal-pc:9622:default" "{\"queue\":\"default\",\"run_at\":\"Tue Dec 17 12:25:21 UTC 2013\",\"payload\":{\"class\":\"\\\\BaseModule\\\\Jobs\\\\Mail\",\"args\":[[]],\"id\":\"c7c64e218bc951018c2a264eaf5a4b9a\"}}"
  1387283121.313312 [0 127.0.0.1:32827] "incrby" "resque:stat:processed" "1"
  </code></pre>
  
  <p>So from the "reque:stat:processed" I think, that my job was processed, but there is a mistake in perform function and its not writing any error, like the perform function is never executed. </p>
  
  <p>Even if I make some insert to database in perform function it will do nothing. </p>
  
  <p>Does anybody know, where is problem? Why it seems that perform function is not executed?</p>