Windows Server
- Login to your Windows Server
- Press
Windows Button
and search forTask Scheduler
- Under
Action
tab, click onCreate Task
- Fill in the
Name
,Description
,Run whether user is logged on or not
,Configured for: The Version you're using
- Under
Trigger
tab, add a new Trigger and select:Begin the task: on a schedule
Repeat task every 15 minutes
For a duration of indefinitely
- Click
Ok
- Open command prompt by hitting
Windows Button + r
, inputcmd
and press enter - Run this command
echo curl https://yourdomain.com/wp-cron.php > %userprofile%\desktop\cron.bat
. Be sure to replaceyourdomain.com
with yourDomain
. - Now back to
Task Scheduler
. UnderActions
tab. Create a new action and browse for the script we created in previous step and pressOK
- Under
Settings
tab, check the boxRun task as soon as possible after a scheduled start is missed
Linux Distros
- Login to your VPS/VM
- execute the command
crontab -e
and select the easiest, in our case it’s1
- Go to the bottom of the file and key in
*/15 * * * * curl https://yourdomain.com/wp-cron.php > /dev/null 2>&1
. Be sure to replaceyourdomain.com
with yourDomain
- Press
Ctrl + O
thenEnter
thenCtrl + X
Shared Hosting
CPanel
- In CPanel, look for Cron Jobs, your UI might be different, but the process is the same
- Ensure your settings is the same as the image below. Be sure to replace
yourdomain.com
with your Domain in the commandcurl https://yourdomain.com/wp-cron.php
- Click on
Add New Cron job
Plesk
- Select cronjob under
Tools & Settings -> Tools & Resources -> Scheduled Tasks (Cron Jobs)
- Click on
Add Task
- Make sure your settings are as below and replace
yourdomain.com
with your DomainTask type: Run a command Command : curl https://yourdomain.com/wp-cron.php run : Cron style */15 * * * *
Popular Hosting Companies Cron job setup
Set the Cron schedule to */15 * * * *
(15 minutes every day) Set the command to curl https://yourdomain.com/wp-cron.php
(replace yourdomain
with your Domain
- GoDaddy https://www.godaddy.com/help/create-cron-jobs-16086
- Bluehost https://my.bluehost.com/hosting/help/411
- HostGator https://www.hostgator.com/help/article/how-do-i-create-and-delete-a-cron-job
- SiteGround https://www.siteground.com/tutorials/cpanel/cron-jobs/
- Namecheap https://www.namecheap.com/support/knowledgebase/article.aspx/9453/29/how-to-run-scripts-via-cron-jobs/
- Hostinger https://support.hostinger.com/en/articles/1583465-how-to-set-up-a-cron-job-at-hostinger