Our wordpress betting prediction plugin dbsPicks, uses cronjobs to automate import of football data, and posting of betting predictions to your blog, and to calculate stats on your betting predictions and more.
The wordpress cron is okay to do this. However it is not optimal, as it will only run when a visitor hits your site. So we recommend to use the linux cronjob instead of the wordpress cron.
In order to this, you have to insert a line into your wp-config.php file. Just at the buttom af that file, you should insert:
That will disable the execution of the wordpress cron job.
Then you have to set up the cronjob, on your linux server. If you login into your linux server trough ssh, and run “crontab -e”
You should insert a line like this:
* * * * * wget -O- https://domain.com/wp-cron.php > /dev/null 2>&1
Change the url to fit your domain;)
If you using an admin panel, like cPanel or whatever, contact us and we will help you. The important thing is to get https://domain.com/wp-cron.php executed every minute.
Dont be shy to reach out, we are happy to help:)