How to Set Up a Cron Job in cPanel

Posted on by Ronald Caldwell | Updated:
Reading Time: 3 minutes

Cron jobs are functions in cPanel that allow users to run commands and programs automatically. Users are able to schedule cron jobs for various intervals from the cPanel interface.

This tutorial will walk through the process of how to set up a cron job in cPanel.

Requirements

  • A server with cPanel.
  • The cPanel login credentials with permissions for running cron jobs.

How to Set Up a Cron Job in cPanel

2. Scroll down to the Advanced section and click Cron Jobs.

3. Enter the email address you want the cron job results sent to after it runs, and click Update Email.

4. Specify the time interval you want the cron job to run by selecting from the Common Settings dropdown menu or entering custom settings in the fields.

Choosing a common setting automatically completes all fields but the Command field. This also provides an understanding of what each field means.

5. In the Command field, enter the command of the script you want to run, including the path from root. Click Add New Cron job.

The cron job is set and displays at the bottom of the screen in the Current Cron Jobs section.

Wrapping Up

Setting up cron jobs in cPanel is a helpful way to run programs and commands automatically without user intervention. Liquid Web’s support team assists with these functions on fully managed servers with cPanel.

If you are looking for cPanel hosting with 24/7/365 support, contact our sales team to discuss your needs and go over options.

Avatar for Ronald Caldwell

About the Author: Ronald Caldwell

Ron is a Technical Writer at Liquid Web working with the Marketing team. He has 9+ years of experience in Technology. He obtained an Associate of Science in Computer Science from Prairie State College in 2015. He is happily married to his high school sweetheart and lives in Michigan with her and their children.

Latest Articles

How to set up NGINX virtual hosts (server blocks) on AlmaLinux

Read Article

CentOS Linux 7 end of life migrations

Read Article

Use ChatGPT to diagnose and resolve server issues

Read Article

What is SDDC VMware?

Read Article

Best authentication practices for email senders

Read Article