# Hubspot and Cron

**URL:** <https://forum.mautic.org/t/hubspot-and-cron/7093>\
**Category:** Product Support\
**Created:** [January 9, 2017, 12:10pm UTC](https://forum.mautic.org/t/hubspot-and-cron/7093 "2017-01-09T12:10:04Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![bunce69](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/bunce69/32/143_2.png) [@bunce69](https://forum.mautic.org/u/bunce69)\
**Post date:** [January 9, 2017, 12:10pm UTC](https://forum.mautic.org/t/hubspot-and-cron/7093/1 "2017-01-09T12:10:04Z")

</div>

Hi guys,  
  
  
  
I have Mautic 2.5.1 and I tried to add a Cron job as on the video tutorial on youtube, but nothing happens.  
  
  
  
I cannot have a 2 way integration.  
  
  
  
I’m using Putty to use setup my crons. Does any one could help me for this? Maybe for a 10 minutes meeting on skype!? I’m desperated with these cron jobs, I spent so much time on it and I guess I did something wrong.  
  
  
  
Thank you!

---

<div class="post-metadata">

**Author:** ![bunce69](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/bunce69/32/143_2.png) [@bunce69](https://forum.mautic.org/u/bunce69)\
**Post date:** [January 9, 2017, 12:10pm UTC](https://forum.mautic.org/t/hubspot-and-cron/7093/2 "2017-01-09T12:10:04Z")

</div>

Hi guys,

I have Mautic 2.5.1 and I tried to add a Cron job as on the video tutorial on youtube, but nothing happens.

I cannot have a 2 way integration.

I’m using Putty to use setup my crons. Does any one could help me for this? Maybe for a 10 minutes meeting on skype!? I’m desperated with these cron jobs, I spent so much time on it and I guess I did something wrong.

Thank you!

---

<div class="post-metadata">

**Author:** ![bunce69](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/bunce69/32/143_2.png) [@bunce69](https://forum.mautic.org/u/bunce69)\
**Post date:** [January 9, 2017, 3:40pm UTC](https://forum.mautic.org/t/hubspot-and-cron/7093/3 "2017-01-09T15:40:26Z")

</div>

Thank u I had a look and post a reply to one of the post which has the same pb.

It seems there aren’t 2 ways sync for hubspot, but it is said in the last mautic minute on youtube that we can with the new update…

Right? Wrong?

---

<div class="post-metadata">

**Author:** ![bunce69](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/bunce69/32/143_2.png) [@bunce69](https://forum.mautic.org/u/bunce69)\
**Post date:** [January 10, 2017, 9:39am UTC](https://forum.mautic.org/t/hubspot-and-cron/7093/4 "2017-01-10T09:39:10Z")

</div>

Yes but i’m looking from hubspot to mautic

---

<div class="post-metadata">

**Author:** ![nickbuc](https://avatars.discourse-cdn.com/v4/letter/n/e36b37/32.png) [@nickbuc](https://forum.mautic.org/u/nickbuc)\
**Post date:** [January 10, 2017, 10:17pm UTC](https://forum.mautic.org/t/hubspot-and-cron/7093/5 "2017-01-10T22:17:38Z")

</div>

The integration from Hubspot to Mautic works. You need to setup a specific cron job, but that is working.

However I can’t get the integration to work in the other direction, from Mautic to Hubspot… Is it working for you?  
The 2 cron jobs I have are:  
1 \* \* \* \* su daemon -s /bin/sh -c “/opt/bitnami/php/bin/php /opt/bitnami/apps/mautic/htdocs/app/console mautic:integration:fetchleads --integration=Hubspot”  
1 \* \* \* \* su daemon -s /bin/sh -c “/opt/bitnami/php/bin/php /opt/bitnami/apps/mautic/htdocs/app/console mautic:integration:pushleadactivity --integration=Hubspot”

---

<div class="post-metadata">

**Author:** ![bunce69](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/bunce69/32/143_2.png) [@bunce69](https://forum.mautic.org/u/bunce69)\
**Post date:** [December 26, 2021, 6:56pm UTC](https://forum.mautic.org/t/hubspot-and-cron/7093/6 "2021-12-26T18:56:31Z")

</div>

Hi @nickbuc

on one way it is working, but not on Mautic to Hubspot.

Could you figure it out ?

Thanks.
