/
How to enable new WPL Cronjob system?

How to enable new WPL Cronjob system?

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 in the background when someone visits the details page of one property on your website. So it large-scale websites may create a delay in loading the property details page. If you want to speed up the property details page, then we suggest you use the new WPL cronjob system.

Please check WPL -> Settings -> WPL Continues Jobs, you will see a full detailed 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 has a cPanel, then you can log in to your website cPanel and go to the 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. It should run every 5 minutes.

Please note that you should change the http://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 the "WPL Continues Jobs" section of WPL -> Settings menu.