dollysingh197
New Pleskian
I need to run mautic cron job in plesk.
This is the command:
php /var/www/vhosts/example.com/httpdocs/mymautic/app/console mautic:segments:update
I tried running this command as it is but it is not working and I have also tried running /usr/bin/php /var/www/vhosts/example.com/httpdocs/mymautic/app/console mautic:segments:update still it is not working because when I run a command on ssh /usr/bin/php
I get the following output:
-bash: /usr/local/bin/php: No such file or directory
How do I run this cron job please help me resolve this issue..
This is the command:
php /var/www/vhosts/example.com/httpdocs/mymautic/app/console mautic:segments:update
I tried running this command as it is but it is not working and I have also tried running /usr/bin/php /var/www/vhosts/example.com/httpdocs/mymautic/app/console mautic:segments:update still it is not working because when I run a command on ssh /usr/bin/php
I get the following output:
-bash: /usr/local/bin/php: No such file or directory
How do I run this cron job please help me resolve this issue..