Setting Up Cron Job
Run Synchronization Automatically
In order to execute all synchronization task regularly PrestaBay module 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 with 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:
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” – you 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.
For correctly module work it’s important to execute automatic synchronization every 5 minutes. This is the time suggested by ebay and guarantees that all data transferred in time and in small chunks.