Managing Cron Jobs

Adding a cron email

The Cron Email section of this interface allows you to specify an email address at which you would like to receive notifications whenever your cron jobs are run. To specify an email address:

  1. Enter the email address at which you wish to receive the notifications in the email field.
  2. Click the Update Email button.

 

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 Commandfield, type the command you wish the system to run.Click Add New Cron Job.
    • 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

 

Viewing existing cron jobs

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

From here, you may edit or delete a cron job.

 

Editing a cron job

To edit a cron job:

  1. Locate the cron job you wish to edit.
  2. Click Edit.
  3. Edit the settings you wish to change.
  4. Click Edit Line.

 

Deleting a cron job

To delete a cron job:

  1. Locate the cron job you wish to delete.
  2. Click Delete.
  3. Confirm that you wish to delete the cron job by clicking Delete again.
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How to create FTP account

Add an FTP account The addition of an FTP account will allow users to access the domain's folder...

How to manage the cPanel style and branding

Download a branding style To download a branding style: 1. Click Download or Delete Branding on...

How to make a directory password protected

Password Protect a Directory To password protect your directory: Select the directory in...

How to separate IP address of your domain

How to set a separate IP address for your domain and mailserver If you change the IP address of...

How to generate/download a full backup

A full backup is a backup of all of your files, e-mail, databases, etc. To run a full backup, you...