Cron Configuration

Cron Configuration

Starting Cronjob / Bi-Directional Sync

Required: Connect or Pro version

  1. Select the Zoho Item Categories you want to include in the sync.
  2. Click on Save Category button.
  3. Now go to your hosting cPanel settings and add this Cronjob there that run every once a day:

Set this Cronjob in your Hosting cPanel

php /home/customer/public_html/wp-content/plugins/woocommerce-zoho-inventory/sync-from-zoho.php >/dev/null 2>&1

Note: the above path is an example for Siteground hosting, please check the example in your cPanel Cron page for the proper path or ask your hosting for the correct path.

How to find the Root Directory:

Go to WP Admin > Tools > Site Health > click on “Info” tab and open “Directories and Size”

Go to Tools > Site Health > Info tab

Cron command will then become:

/usr/bin/php /home/roadmapstudios/domains/mysite.com/public_html/test/wp-content/plugins/woocommerce-zoho-inventory/sync-from-zoho.php >/dev/null 2>&1

Deciding the Cron Interval:

  • If you have less than 100 products, run the cronjob every 12 hours.
  • More than 100 products? Run the cronjob once or twice a day. If you are still hitting the API calls limit after that, please purchase additional API batch from Zoho.

    • Related Articles

    • Reset Sync

      When to do this: When you made a major mistake in the sync setup process When you want to connect to another Zoho Organization Steps to start over when mistake is made in Categories:  Remove all the product categories  Go to our plugin settings > ...
    • Data Sync

      *Please do not skip this step! Before we start the sync, please ensure you have enabled “Categories” in your Zoho settings > Preferences > Items > Field Customization After mapping the taxes, we will start syncing the items. Please read below ...
    • Zoho General Preferences

      o sync all product data properly, you need to ensure that Zoho understands your WooCommerce Tax configuration. Its important that you have a standard tax rate, if you are not using tax, then ensure the standard rate is 0%. Make sure your Zoho ...