Setting Up Cron Job
Run Synchronization Automatically
In order to execute all synchronization task regularly PrestaBay module required to set 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 to 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 cron schedule please contact us for solution.
Cronjob has 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 don’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 time suggested by ebay and guarantees that all data transferred in time and in small chunks.