# Cron Job - ISPConfig

**URL:** https://forum.mautic.org/t/cron-job-ispconfig/7526
**Category:** Product Support
**Created:** [February 15, 2017, 3:19am UTC](https://forum.mautic.org/t/cron-job-ispconfig/7526 "2017-02-15T03:19:59Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![heyfra](https://avatars.discourse-cdn.com/v4/letter/h/9e8a1a/32.png) [@heyfra](https://forum.mautic.org/u/heyfra)
#### Post date: [February 15, 2017, 3:19am UTC](https://forum.mautic.org/t/cron-job-ispconfig/7526/1 "2017-02-15T03:19:59Z")

</div>

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](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  
  
  
  
 ![php_version.png](http://eurobestshop.com/php_version.png)  
  
  
  
  
  
**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:**  
  
 ![cron_job_issue.png](http://eurobestshop.com/cron_job_issue.png)  
  
  
  
  
  
Most probably the command to run is not right, any of you guys can help me to solve this issue?  
  
  
  
  
  
Thank you!

---

<div class="post-metadata">

### Author: ![heyfra](https://avatars.discourse-cdn.com/v4/letter/h/9e8a1a/32.png) [@heyfra](https://forum.mautic.org/u/heyfra)
#### Post date: [February 15, 2017, 3:19am UTC](https://forum.mautic.org/t/cron-job-ispconfig/7526/2 "2017-02-15T03:19:59Z")

</div>

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](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

![](http://eurobestshop.com/php_version.png)

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:  
 ![](http://eurobestshop.com/cron_job_issue.png)

Most probably the command to run is not right, any of you guys can help me to solve this issue?

Thank you!

---

<div class="post-metadata">

### Author: ![heyfra](https://avatars.discourse-cdn.com/v4/letter/h/9e8a1a/32.png) [@heyfra](https://forum.mautic.org/u/heyfra)
#### Post date: [February 17, 2017, 3:15am UTC](https://forum.mautic.org/t/cron-job-ispconfig/7526/3 "2017-02-17T03:15:15Z")

</div>

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… ☹

![](http://eurobestshop.com/php559.png)

---

<div class="post-metadata">

### Author: ![heyfra](https://avatars.discourse-cdn.com/v4/letter/h/9e8a1a/32.png) [@heyfra](https://forum.mautic.org/u/heyfra)
#### Post date: [February 17, 2017, 6:00am UTC](https://forum.mautic.org/t/cron-job-ispconfig/7526/4 "2017-02-17T06:00:16Z")

</div>

Hi, Shall Access:

server: [auto.leadsbeam.com](http://auto.leadsbeam.com)  
user: leadsbeammm  
pass: mKn!3sMQvC

Thank you!

---

<div class="post-metadata">

### Author: ![alexhammer](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/alexhammer/32/14525_2.png) [@alexhammer](https://forum.mautic.org/u/alexhammer)
#### Post date: [January 7, 2021, 1:21pm UTC](https://forum.mautic.org/t/cron-job-ispconfig/7526/5 "2021-01-07T13:21:55Z")

</div>

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.
