In EBuildHost cPanel, you can create cron jobs by yourself in cPanel. In this tutorial, we will cover how to use the cPanel cronjob feature to restore your file backups. This powerful feature can help you add the cronjob task easily.

Step 1: Log in to cPanel

First, you’ll need to log into your cPanel account. You can find the cPanel URL in our welcome letter.

Enter your cPanel username and password, then click “Log in”.

Screenshot 2023 08 10 at 10.21.04 PM
Add Cron jobs in cPanel 5

Or you can log in to cPanel by using our Client Area one-click login feature.

Services -> My Services -> Select your hosting service -> In Actions you can find “Login to cPanel”

Screenshot 2023 08 10 at 10.24.24 PM
Add Cron jobs in cPanel 6

Step 2: Locate the Cron Jobs

On your cPanel home page, find the “Advance” section. In this section, you should see the “Cron Jobs” option. Click on it.

Screenshot 2023 12 21 at 3.26.52 PM
Add Cron jobs in cPanel 7

Step 3: New Cron Job

Here you can add the cron job:

  • Common Settings — Select a commonly-used interval. The system will configure the appropriate settings in the MinuteHourDayMonth, and Weekday text boxes for you.
  • Minute — The number of minutes between each time the cron job runs, or the minute of each hour on which you wish to run the cron job.
  • Hour — The number of hours between each time the cron job runs, or the hour of each day on which you wish to run the cron job.
  • Day — The number of days between each time the cron job runs, or the day of the month on which you wish to run the cron job.
  • Month — The number of months between each time the cron job runs, or the month of the year in which you wish to run the cron job.
  • Weekday — The days of the week on which you wish to run the cron job.
  • In the Command text box, enter the command that you wish the system to run.
    Example: php /home/ebuildhost/wordpress_dir/wp-cron.php

Important

  • You must specify settings for the MinuteHourDayMonthWeekday, and Command text boxes.
  • Exercise extreme caution when you use the rm command in a cron job. If you do not declare the correct options, you may delete your home directory’s data.
  • If your cron job runs a custom script, the script requires the execute permission. Please contact EBuildHost customer service.
Screenshot 2023 12 21 at 3.27.48 PM
Add Cron jobs in cPanel 8