Hi,
I am currently running the V.2.5.1 of Mautic.
I use as a Hosting Control Panel: ISP Config http://www.ispconfig.org With Ubuntu 14.4.5 LTS x64.
In the Control Panel of ISPConfig it’s possible setup as many Cron Jobs I want,
Since I enable the log output, I saw that the Cron Job is running, but mautic does not update anything.
If I run manually by SSH this commands, the Cron Job is working fine:
I am inside my root: /var/www/mymauticwebsite.com/web and I run:
php app/console mautic:segments:update
php app/console mautic:campaigns:rebuild
php app/console mautic:campaigns:trigger
And it’s working!
ISP Config is running by default with PHP PHP 5.5.9-1ubuntu4.20, but I am using for mautic an additional php version: php-7.0.2
This is what is written in the command to run:
/opt/php-7.0.2/bin/php-cgi /var/www/mymauticwebsite.com/web/app/console mautic:segments:update --env=prod
Like in this picture:
Most probably the command to run is not right, any of you guys can help me to solve this issue?
Thank you!
Hi,
I am currently running the V.2.5.1 of Mautic.
I use as a Hosting Control Panel: ISP Config http://www.ispconfig.org With Ubuntu 14.4.5 LTS x64.
In the Control Panel of ISPConfig it’s possible setup as many Cron Jobs I want,
Since I enable the log output, I saw that the Cron Job is running, but mautic does not update anything.
If I run manually by SSH this commands, the Cron Job is working fine:
I am inside my root: /var/www/mymauticwebsite.com/web and I run:
php app/console mautic:segments:update
php app/console mautic:campaigns:rebuild
php app/console mautic:campaigns:trigger
And it’s working!
ISP Config is running by default with PHP PHP 5.5.9-1ubuntu4.20, but I am using for mautic an additional php version: php-7.0.2
This is what is written in the command to run:
/opt/php-7.0.2/bin/php-cgi /var/www/mymauticwebsite.com/web/app/console mautic:segments:update --env=prod
Like in this picture:
Most probably the command to run is not right, any of you guys can help me to solve this issue?
Thank you!
Hi, I try with /opt/php-7.0.2/bin/php but still don’t working,
I also tried to use the default PHP configuration with PHP5.5.9 with example:
/etc/php5/php /var/www/mywebsite.com/web/app/console mautic:segments:update --env=prod
but also in this case still don’t working…
Hi @heyfra
It’s a long time ago that this problem occured, but I solved it for a client recently.
You need to change the cron limits for the client in ispconfig.
If you don’t have a client, create one. It is necessary to apply the cron settings for this particular case.
Once you created the client go to client > limits > cron-limits and change the value to “full cron”
after that everything should be fine.