Setting Up Cron Job

Run Synchronization Automatically

In order to execute all synchronization tasks regularly, PrestaBay module is required to set a cron job.

Cron is a time-based job scheduler in Unix-like computer operating systems. Cron enables users to schedule jobs (commands or shell scripts) to run periodically at certain times or dates. It is commonly used for doing some tasks at specific intervals at every time.

Usually hosting have CPanel, DirectAdmin, or other hosting panels that already include cron configuration service.

NB! If your hosting does not support the cron schedule please contact us for a solution.

Cronjob has the following syntax: PrestaShop ebay module — Setting Up Cron Job

Cronjob command for PrestaBay module should be following:

*/5 * * * * wget -O /dev/null https://yourstoreurl.com/modules/prestabay/cron.php > /dev/null 2>&1

Where “yourstoreurl.com” – is your store URL (and don’t forget to change HTTPS —> HTTP if your store doesn’t support SSL certificate).

This command will execute automatic synchronization every 5 minutes.

To understand link that should be used for cron job Synchronization, please take a look at Catalog>ebay>Synchronization page and copy link you can find there:

Please notice:For correct module work automatic synchronization must be provided every 5 minutes. This is the time suggested by ebay and guarantees that all data is transferred in time and in small chunks.

Still need help? Contact Us Contact Us