- Harendra Kumar Kanojiya
As we all know, cPanel is a website administration application that helps users to manage numerous website activities. Cron Jobs is one of these features. It is a sort of Job-Scheduler used in Linux-based operating systems that allows users to schedule any repetitive operation that must be performed on a regular basis. You may use this functionality to automate any specific task based on your needs.
With the example provided, this would be clearer. Assume you have a blogging website. Every day, you make a number of posts and then erase them. Make several adjustments to the website's appearance, among other things. You may also be aware that all of these actions, including trash files, take up space. It is impossible for anyone to manually handle these garbage files. So, we can utilize this function of cPanel to create a task that will help us manage disk space by periodically eliminating trash files. Before I go any further, I'd like to point you that I've demonstrated the technique using the REDSERVERHOST cPanel interface.
Let's have a look at how to set up Cron Jobs in cPanel and see how they operate. *
Cron Job, as previously said, is a job-scheduler that allows users to set up a repeated operation that may be done on a regular basis. So, in this article, I'll show you how to set up a Cron Job for a domain in cPanel and how it works.
1. Access your cPanel account
2. From the list, look for Cron Jobs, which you'll find under the Advanced section
3. On the following page, fill in the essential information as requested
Email address for Cron: Enter the email address where you'd like to receive cron job updates in this field. It's a choice.
Add New Cron Job: In this area, you must choose the Settings, i.e. the time schedule for the cron job to run.
You must input the path as shown in the PHP command examples in this section.
4. Select Add New Cron Job from the drop-down menu, and it will appear in the Current Cron Jobs column
From here, you can easily Edit or Delete any scheduled cron job. Cron Jobs makes manual labor easier by allowing you to schedule tasks according to your needs. Cron Jobs may now be used to erase temporary files, among other things. I hope this has given you a better understanding of the Cron Job, which is a useful function in cPanel.