I want to have Beansalkd workers in BASH script, not in PHP like you usually see. Is that possible?
Everywhere I look, the Beanstalkd workers are PHP scripts. So what I want is: after beanstalkd starts up, you can add worker jobs in it which wait for jobs. A job is an HTTP request to do some intensive processing. For this I can use PHP to put the job into the beanstalkd queue. But the actual workers that do the jobs, are BASH scripts.
For example, in Gearman it's possible to specify workers and their function names, and what they must do once a job comes in, like run a BASH script.