CRON JOBS in cPanel

As we know, cPanel is the management tool of the website that allows user to manage various tasks related to website. One of such feature is Cron Jobs. It is a type of Job-Scheduler in Linux based Operating System that allows user to set up any repetitive task that needs to be run periodically. With this feature you can automate any specific task as per your requirement.

Features of cPanel
Cron Jobs

This would be more clear with the given example. Suppose, you have a website for blogging. Everyday you create several posts and delete them. Do many changes to modify the website presentation and many more. You may also know that these all activities consumes space even the trash files. It cannot be possible for anyone to manage these trash files manually. So, here we can use this feature of cPanel and set a job that would help us to manage the disk space by deleting the trash files periodically. Before proceeding further let me tell you that here I’ve used the cPanel interface of REDSERVERHOST to explain the procedure.

Let’s see how to set Cron Jobs in cPanel and check how it works?

As I’ve already mentioned that Cron Job is a job-scheduler that allows user to set up a repetitive task that can be executed periodically.

Features of cPanel
Cron Jobs

So, here I will explain the procedure to set up Cron Job for domain in cPanel and its result.

  1. Login to cPanel account .
cPanel
cPanel Login Page

2. Search for Cron Jobs from the list and you will find it in Advanced section.

Features of cPanel
Cron Jobs

3. Enter the required details on the next page as directed.

Cron Jobs

Cron Email: In this section, enter the email address, in which you want to receive updates related to cron job. It is optional.

Cron Jobs
Add New Cron Job

Add New Cron Job: In this section you have to select the Settings, i.e time schedule according to which cron job would be executed.

Command: In this section you have to enter the path as given in PHP command examples.

4. Click over Add New Cron Job and you can view this in Current Cron Jobs section.

Cron Jobs

You can also Edit or Delete any scheduled cron job from here.

Cron Jobs simplifies your manual work as it allows you to schedule the task as per your requirement. Now, you can use Cron Jobs to delete temporary files and many more.

Hope this may help you to understand about the Cron Job which is an interesting feature in cPanel.

Happy Reading !

Linux Hosting

Reseller Hosting

VPS Hosting

--

--

--

Get all the solution related to web hosting and website management.

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Building The Poll App From the Django Tutorial With FastAPI and React — Database and Models

Building The Poll App From the Django Tutorial With FastAPI and React — Part 2

RomeDAO: Gamifying Governance & Self Organization

How to remove WordPress redirects by hackers — a look at the Easy WP SMTP plugin vulnerability

AWS IAM Managed Policies — Use them wisely, or do not use them at all

Pure and type safe error handling in Akka Streams

Dockerize Your Java Application

Create a backup image from your working PixieBoard setup.

Constructing Min-Heap from a Tree

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Hosting Solutions

Hosting Solutions

Get all the solution related to web hosting and website management.

More from Medium

What’s the Difference Between Dedicated Server and Cloud Servers?

Cloning of Unsplash website

Open web learning sessions

Writing WWW with a pencil

How to run newman package in Postman