Cron job
WordPress has something called wp-cron. If you haven’t read about it, its fine. But please be aware that you cannot live without it!
Wordpress run cron jobs when a user browse the website, for better performance, this behaviour is disabled.
Setup a real cronjob
From your Linux terminal, first open crontab:
Then add a line like below in it.
or better
Please make sure you use correct path to wp-cron.php
Above will run wp-cron every 10 minutes. You can change */10
to */5
to make it run every 5 minute
Last updated
Was this helpful?