Cron Job 2 way sync?

I tried the cron job but no luck? here is my setting:



/usr/local/bin/php-cli -q /public_html/booking/app/console mautic:integration:fetchleads --integration=Hubspot -e prod



Any idea what could be wrong?



Thanks in advance :)

melaby

I tried the cron job but no luck? here is my setting:

/usr/local/bin/php-cli -q /public_html/booking/app/console mautic:integration:fetchleads --integration=Hubspot -e prod

Any idea what could be wrong?

Thanks in advance :slight_smile:
melaby

Hi,

Your corn job seems fine to me. What does [quote]-e prod[/quote] do?

For comparison, here is my cron job:
…/mautic/app/console mautic:integration:fetchleads --integration=Hubspot

You just need to make sure the path to your php is correct.

Cheers!