Hello,
I'm trying to schedule a task on Plesk and here is the problem:
/usr/bin/php /var/www/vhosts/mydomain.com/httpdocs/app/console crontask --env=prod
Have i tried to run this in CLI ? -> yes! and it works
But when i'm scheduling a task and try to execute it, i've got this message:
Task "/usr/bin/php /var/www/vhosts/mydomain.com/httpdocs/app/console crontask --env=prod" completed with an error in 0 second.
nothing more, nothing less.
Has anyone any clue?
I'm trying to schedule a task on Plesk and here is the problem:
/usr/bin/php /var/www/vhosts/mydomain.com/httpdocs/app/console crontask --env=prod
Have i tried to run this in CLI ? -> yes! and it works
But when i'm scheduling a task and try to execute it, i've got this message:
Task "/usr/bin/php /var/www/vhosts/mydomain.com/httpdocs/app/console crontask --env=prod" completed with an error in 0 second.
nothing more, nothing less.
Has anyone any clue?