Add a server cron-job: Cpanel

If you have access to Cpanel through your hosting account you can create a server-based cron job really quickly.

Don't have access to Cpanel?

If you do not have access to Cpanel, consider using an external cron-job service like cron-job.org. Or ask your hosting provider for the best way to create cron jobs.

Open the Cron Jobs tool in Cpanel

Find it under the Advanced section and click on Cron Jobs.

Add a new cron-job

If you are creating a cron-job for the gh-cron.php then the time interval should be every 1 minute and the command to...

/usr/local/bin/php /path/to/public_html/gh-cron.php >/dev/null 2>&1

If you are creating a cron-job for the wp-cron.php then the time interval should be every 15 minutes.

/usr/local/bin/php /path/to/public_html/wp-cron.php >/dev/null 2>&1

Don't know which cron jobs you need to create?

Here's an example...

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us