Sign up to Our

NEWSLETTER


 
Knowledgebase
How to enable new WPL Cronjob system?
Posted by Howard R. on 13 July 2017 04:20 AM

Since WPL3.5.1 we have added a new system for running WPL Cron-jobs.

WPL has some tasks (jobs) that should be run regularly. By default we will run them on the background when someone visits details page of one property on your website. So it large scale websites it may create a delay in loading the property details page. If you want to speed up the property details page, then we suggest you to use the new WPL cronjob system.

Please check WPL -> Settings -> WPL Continues Jobs, you will see a full details description there. but if you don't know how to add the cronjob, then please read the rest of this article.

Adding the cronjob from server

If you have access to server root and you're a server expert, then you can simply add this command into your server crontab file:

*/5 * * * * wget http://yourwebsite.com/?wpl_do_cronjobs=1

Adding the cronjob from cPanel

If your website have a cPanel, then you can login to your website cPanel and go to cronjob menu and use that wizard for setting the cronjob. You should insert wget http://yourwebsite.com/?wpl_do_cronjobs=1 into the command field.

Please note that you should change the yourwebsite.com to your website domain and path. Also please make sure that the cPanel cronjob is working fine. It's mandatory otherwise your website may face some problems. You can see the latest run time of cPanel cronjob in "WPL Continues Jobs" section of WPL -> Settings menu.


Comments (0)