I`m using Beanstalkd to manage queues in my Laravel project. My job is like this:
class MyJob {
public function fire($job, $data) {
Log::info("Something");
.....
.....
.....
$job->delete();
}
}
I`ve set beanstalktd to listen for jobs like this:
php artisan queue:listen
So when I push job in the queue:
Queue::push('MyJob', array(
.....
);
The job is processed:
Processed: MyJob
But do not execute any of my code in the fire method..what is happening here ?