Skip to main content

Creating CronJobs in cPanel - Knowledgebase / cPanel Shared Web Hosting - Micron21 Helpdesk

Creating CronJobs in cPanel

Authors list

Overview:

A cron job is a tool used to schedule tasks or commands to run automatically at a designated time or interval. It is often used for automating routine maintenance or administration tasks. To avoid causing undue strain on your system and potentially encountering performance issues, it's important to ensure that any cron jobs you create are scheduled to run no more than once every 5 minutes.

Method:
  1. Log in to your cPanel account.
  2. Navigate to the "Cron Jobs" tool under the "Advanced" category.
  3. Under "Add New Cron Job," select the interval at which you want the cron job to run from the "Common Settings" drop-down menu.
    1. You can set custom time by filling in the fields for "Minute", "Hour", "Day", "Month" and "Weekday".
  4. In the "Command" field, enter the command that you want to run as the cron job.
  5. Click on the "Add New Cron Job" button to save the cron job.
Helpful Unhelpful