Adding a cron job

To set up a cron job:

  1. Configure the interval at which you wish to run the cron job.
    • Common Settings — This menu allows you to select a commonly used interval without having to specify settings for the minute, hour, day, month, and so on.
    • Minute — Use this drop-down menu to select the number of minutes between running the cron job, or the minute each hour on which you wish to run the cron job.
    • Hour — Use this drop-down menu to select the number of hours between running the cron job, or the hour each day on which you wish to run the cron job.
    • Day — Use this drop-down menu to select the number of days between running the cron job, or the day of the month on which you wish to run the cron job.
    • Month — Use this drop-down menu to select the number of months between running the cron job, or the month of the year in which you wish to run the cron job.
    • Weekday — Use this drop-down menu to select the day(s) of the week on which you wish to run the cron job.
  2. In the Command field, type the command you wish the system to run.
    • note Note: If you do not wish to receive an email notifying you of a specific cron job, add the following line to the command: >/dev/null 2>&1
  3. Click Add New Cron Job.
  • Email, SSL
  • 21 Users Found This Useful
Was this answer helpful?

Related Articles

Cron Jobs

Cron jobs are scheduled tasks that take place at predefined times or intervals on the server....

Viewing existing cron jobs

The Current Cron Jobs table displays the cron jobs you have already set up on the...

Editing a cron job

To edit a cron job: Locate the cron job you wish to edit. Click Edit. Edit the settings...

Apache Handlers

Apache handlers control how your site’s Apache web server software manages certain file...

Image Scaler

cPanel can resize a single image with the Image Scaler. The Image Scaler operates...