Xeroom Synch Cron Job
Q: Can you send me the cron line to call the function: xeroom_sync_schedule?
A: https://wpspeedmatters.com/external-cron-jobs-in-wordpress/ Gives can find a detailed way to setup and achieve a 3rd party cron job on WordPress. Here is a short resume:
- first, disable
define('DISABLE_WP_CRON', true);
- after that, go to the hosting dashboard cron job, create a new cron that executes every 1 or 2 minutes and add the URL
wget -q -O - https://www.yourdomain.com/wp-cron.php?doing_wp_cron >/dev/null 2>&1
The xeroom_sync_schedule is only available if something is in a queue to be synched with Xero. If not, the xeroom_sync_schedule cron will be removed. That's why you should implement the 3rd party cron jobs as above.
Better Host Cron Job Management
Some of the better hosts provide WordPress cron management solutions eg Cloudways offer the below. Ask your host if they offer this.
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article