Replacing WordPress cron With Real System Cronjobs

The software utility Cron is a time-based job scheduler in Unix-like computer operating systems.
Source: Wikipedia

I was upgrading a WordPress website the other day, and it was decided that running a real cronjob on the server rather than relying on the built-in task scheduler in WordPress.

For those who do not know, some WordPress features require running automatically at certain times during the day. WordPress has a built-in feature called wp-cron. This is called every time someone visits your website. On most peoples WordPress sites, this is not much of a problem. However, on high-traffic sites this can cause slowdowns in the response time. And we all know how important having a fast website is, right?

For low traffic sites, because the wp-cron scheduler is not run very often, your tasks may not be activated at the right time, if at all.

The solution to this problem is configure a task to run on the server, commonly called a cronjob. Most web hosts allow you to set up a cron.

To configure wp-cron to be run by the server via cPanel, follow this handy tutorial on Siteground.

Leave a Reply

Your email address will not be published.