How to find out which application and environment settings my task runs with in symfony 1.4?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I believe you can’t, but you can run your task per environment using one of the arguments.
I think this is because of the design of the task. For example, why would you want to run the
generate:moduleon just one environment? But obviously you will want to runcache:clearon just development environment for example.To use
cache:clearin just development environment, you can call it like this:You can see the complete arguments of a task with:
For example: