1

I have Problem with symfony i would like to execute the backend process from inside the symfony action like below

shell_exec("php http://localhost/esm/symfony/web/index.php/payroll/StartProcess");

This command actually not working even im not getting any error or message after excecute this action

my StartProcess action is like below

$query="INSERT INTO test_process (value) VALUES (1)";
       $conn = Doctrine_Manager::getInstance()->connection();
$stmt = $conn->prepare($query);
$stmt->execute();

Please Help Why this is not working

Thanks

1 Answer 1

2

Create new task with:

php symfony generate:task updateincrement:employee

Then execute it with:

php symfony updateincrement:employee
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.