|Table of Contents|
Magento cron setup
Koongo Coonector includes the possibility for an automatic feed generation. However, this feature requires a proper setup of a Magento cron.
Magento cron setup
Magento cron setup manual is available section Setting up the Magento cronjob using shell access on http://devdocs.magento.com/guides/m1x/install/installing_install.html#install-cron
Recommended cron run period is between 5 - 10 minutes.
If the Magento cron is set up correctly, you may find records with the code Koongo Connector in the cronjob table located in Koongo → Cronjob → Schedule. The cron process runs every 5 minutes and compares profile's time and frequency setup with present server time. If present time matches scheduled time, then the profile is executed and feed is generated.
The schedule for automatic generation is Export profile dependent settings. That means, you have to choose dates and times in Export profile. Navigate to Koongo → Export profiles → select profile → set the schedule undet tab General:
Automatic upload via FTP
Please note that FTP upload feature was introduced to Koongo Connector since its version 22.214.171.124. Thus, we encourage you to upgrade your connector to the latest version available.
After successful automatic execution of Export profile the generated XML file is also automaticaly uploaded to the FTP account, if you have set up FTP Settings.
Fine-tunning of automatic generation
If you need more precis automatic feed generation, you can run Export profiles directly from your browser or you can set up crontable on your server (command "crontab -e").
Coonector version 126.96.36.199 and older
Koongo Connector package includes PHP script XmlFeedExport.php, which is located in package root folder. This file you may upload to you Magento root folder and trigger Export profile generation in various ways.
If you wish to generate all export profiles, execute the PHP script directly in your browser:
- http://demo.koongo.com/xmlFeedExport.php where is Base URL of your Magento store
If you want to execute only particular profiles,set parameter profiles followed by comma separated profile names or numbers:
Connector version 188.8.131.52 and newer
The purpose of this approach is the same as in connector version 184.108.40.206 (see above), but the implementation was a bit improved and the external PHP script was removed from the package. Thus, you can run the profiles as shown below:
SSH and Shell execution