Let's say I have Symfony2 Command example:command. It works fine, when I type in terminal:
php app/console example:command &
But if I trying to do it with sh file, like:
#!/bin/bash
php app/console example:command &
it does not work. What may cause the problem?
ps auxsays that process didn't start.