We’ve discovered that most of our clients have pilled up ‘pending’ scheduled actions which don’t get processed on time. Therefore, some processes will not work as expected or will not be processed at all, think about order sending, product update or synchronisation. To prevent this we’ve come up with a solution that’s called the ‘Heartbeat’ option. You can find this option under the plugin ‘settings’ tab.
What does the Heartbeat do? #
This setting allows your site to use an external CRON job to trigger the synchronisation or order sending to work as expected instead of using your scheduled actions. Please note that if you enable this setting, it also must be activated and set up correctly.
So if you see many ‘pending’ scheduled actions and they are not processed on time, make sure to use this setting.
How to set up the external cron job? #
A cron job can be configured for scheduling tasks to be executed in the future. This is normally used to schedule a task that is executed periodically – for example, to send out a notice every morning.
All plugins of Woosa rely on cron jobs for tasks like updating stock, price and other relevant product content. Woosa uses the WordPress cron logic and Scheduled Actions in WooCommerce to execute those tasks on time. In some cases, a hosting provider or third-party plugin can interfere with our cron jobs and block update processes. That’s why we have introduced our external cron job.
Currently, most of our plugins have this option available and we’ll explain here shortly how to set up an External Cron Job on your server:
- The first step is to set up a cron job to ping the Heartbeat URL every 1 minute or contact your hosting provider and ask them to set it up for you.
Note: If you cant manage to set up the cron job we have a service that we will set up the cron job on our server. This is totally free of charge.
- The second step is to enable the Heartbeat option in the plugin settings (You can find this option on the General Settings page).
Can’t figure it out? You can always send a message to the support team via the chat bubble at the bottom right 🎈 Support to the rescue 👨💻 👩💻