Open apinstein opened 11 years ago
http://www.php.net/manual/en/function.setproctitle.php
Jobs are often run with complicated/long commands, such as:
php -d include_path=externals/phocoa/phocoa:tourbuzz:tourbuzz/classes:tourbuzz/externals:tourbuzz/externals/pear/php my-worker.php queue1,queue2
Whereas something like:
jqjobs::worker queue1,queue2
Would be much nicer.
Seems that proctiltle is buggy/dangerous. Use http://php.net/manual/en/function.cli-set-process-title.php instead (php5.5+ only)
http://www.php.net/manual/en/function.setproctitle.php
Jobs are often run with complicated/long commands, such as:
Whereas something like:
Would be much nicer.