Warning: Illegal string offset 'width' in /home/xsofthost/public_html/help/wp-content/plugins/youtube-video-player-pro/fornt_end/front_end.php on line 57

Warning: Illegal string offset 'height' in /home/xsofthost/public_html/help/wp-content/plugins/youtube-video-player-pro/fornt_end/front_end.php on line 57

Warning: Illegal string offset 'autoplay' in /home/xsofthost/public_html/help/wp-content/plugins/youtube-video-player-pro/fornt_end/front_end.php on line 57

Warning: Illegal string offset 'theme' in /home/xsofthost/public_html/help/wp-content/plugins/youtube-video-player-pro/fornt_end/front_end.php on line 57

Warning: Illegal string offset 'loop_video' in /home/xsofthost/public_html/help/wp-content/plugins/youtube-video-player-pro/fornt_end/front_end.php on line 57

Warning: Illegal string offset 'enable_fullscreen' in /home/xsofthost/public_html/help/wp-content/plugins/youtube-video-player-pro/fornt_end/front_end.php on line 57

Warning: Illegal string offset 'show_related' in /home/xsofthost/public_html/help/wp-content/plugins/youtube-video-player-pro/fornt_end/front_end.php on line 57

Warning: Illegal string offset 'show_popup' in /home/xsofthost/public_html/help/wp-content/plugins/youtube-video-player-pro/fornt_end/front_end.php on line 57

Warning: Illegal string offset 'thumb_popup_width' in /home/xsofthost/public_html/help/wp-content/plugins/youtube-video-player-pro/fornt_end/front_end.php on line 57

Warning: Illegal string offset 'thumb_popup_height' in /home/xsofthost/public_html/help/wp-content/plugins/youtube-video-player-pro/fornt_end/front_end.php on line 57

Warning: Illegal string offset 'show_title' in /home/xsofthost/public_html/help/wp-content/plugins/youtube-video-player-pro/fornt_end/front_end.php on line 57

Warning: Illegal string offset 'show_youtube_icon' in /home/xsofthost/public_html/help/wp-content/plugins/youtube-video-player-pro/fornt_end/front_end.php on line 57

Warning: Illegal string offset 'show_annotations' in /home/xsofthost/public_html/help/wp-content/plugins/youtube-video-player-pro/fornt_end/front_end.php on line 57

Warning: Illegal string offset 'show_progress_bar_color' in /home/xsofthost/public_html/help/wp-content/plugins/youtube-video-player-pro/fornt_end/front_end.php on line 57

Warning: Illegal string offset 'autohide_parameters' in /home/xsofthost/public_html/help/wp-content/plugins/youtube-video-player-pro/fornt_end/front_end.php on line 57

Warning: Illegal string offset 'set_initial_volume' in /home/xsofthost/public_html/help/wp-content/plugins/youtube-video-player-pro/fornt_end/front_end.php on line 57

Warning: Illegal string offset 'initial_volume' in /home/xsofthost/public_html/help/wp-content/plugins/youtube-video-player-pro/fornt_end/front_end.php on line 57

Warning: Illegal string offset 'disable_keyboard' in /home/xsofthost/public_html/help/wp-content/plugins/youtube-video-player-pro/fornt_end/front_end.php on line 57

Warning: Illegal string offset 'set_initial_volume' in /home/xsofthost/public_html/help/wp-content/plugins/youtube-video-player-pro/fornt_end/front_end.php on line 68

Warning: Illegal string offset 'set_initial_volume' in /home/xsofthost/public_html/help/wp-content/plugins/youtube-video-player-pro/fornt_end/front_end.php on line 68

Warning: Illegal string offset 'enable_fullscreen' in /home/xsofthost/public_html/help/wp-content/plugins/youtube-video-player-pro/fornt_end/front_end.php on line 70

Warning: Illegal string offset 'autoplay' in /home/xsofthost/public_html/help/wp-content/plugins/youtube-video-player-pro/fornt_end/front_end.php on line 74

Warning: Illegal string offset 'theme' in /home/xsofthost/public_html/help/wp-content/plugins/youtube-video-player-pro/fornt_end/front_end.php on line 75

Warning: Illegal string offset 'loop_video' in /home/xsofthost/public_html/help/wp-content/plugins/youtube-video-player-pro/fornt_end/front_end.php on line 76

Warning: Illegal string offset 'enable_fullscreen' in /home/xsofthost/public_html/help/wp-content/plugins/youtube-video-player-pro/fornt_end/front_end.php on line 77

Warning: Illegal string offset 'show_title' in /home/xsofthost/public_html/help/wp-content/plugins/youtube-video-player-pro/fornt_end/front_end.php on line 78

Warning: Illegal string offset 'show_youtube_icon' in /home/xsofthost/public_html/help/wp-content/plugins/youtube-video-player-pro/fornt_end/front_end.php on line 79

Warning: Illegal string offset 'show_annotations' in /home/xsofthost/public_html/help/wp-content/plugins/youtube-video-player-pro/fornt_end/front_end.php on line 80

Warning: Illegal string offset 'show_progress_bar_color' in /home/xsofthost/public_html/help/wp-content/plugins/youtube-video-player-pro/fornt_end/front_end.php on line 81

Warning: Illegal string offset 'autohide_parameters' in /home/xsofthost/public_html/help/wp-content/plugins/youtube-video-player-pro/fornt_end/front_end.php on line 82

Warning: Illegal string offset 'disable_keyboard' in /home/xsofthost/public_html/help/wp-content/plugins/youtube-video-player-pro/fornt_end/front_end.php on line 83

Warning: Illegal string offset 'show_related' in /home/xsofthost/public_html/help/wp-content/plugins/youtube-video-player-pro/fornt_end/front_end.php on line 84

Warning: Illegal string offset 'loop_video' in /home/xsofthost/public_html/help/wp-content/plugins/youtube-video-player-pro/fornt_end/front_end.php on line 92

Warning: Illegal string offset 'width' in /home/xsofthost/public_html/help/wp-content/plugins/youtube-video-player-pro/fornt_end/front_end.php on line 110

Warning: Illegal string offset 'height' in /home/xsofthost/public_html/help/wp-content/plugins/youtube-video-player-pro/fornt_end/front_end.php on line 110

Warning: Illegal string offset 'width' in /home/xsofthost/public_html/help/wp-content/plugins/youtube-video-player-pro/fornt_end/front_end.php on line 110

Warning: Illegal string offset 'height' in /home/xsofthost/public_html/help/wp-content/plugins/youtube-video-player-pro/fornt_end/front_end.php on line 110
How to Create cPanel Cron Jobs - XsoftHost
WHM/cPanel

How to Create cPanel Cron Jobs

What Are Cron Jobs?

cron is a Linux utility which schedules a command or script on your server to run automatically at a specified time and date. A cron job is the scheduled task itself. Cron jobs can be very useful to automate repetitive tasks.Cron Job reports can be configured by setting an email address for notifications purposes and to display the status of the cron job results.

There are several ways to schedule commands to run. Typically,  For cPanel & WHM version 58 navigate to (Home >> Advanced >> Cron Jobs) Add Edit Delete Job Cron

For cPanel & WHM version 58 navigate to (Home >> Advanced >> Cron Jobs)

  1. Select the interval at which you wish to run the cron job from the appropriate menus, or enter the values in the text boxes.
    Common Settings — This menu allows you to select a commonly-used interval. The system will configure the appropriate settings in the Minute, Hour, Day, Month, and Weekday text boxes for you Minute — Use this menu to select the number of minutes between each time the cron job runs, or the minute of each hour on which you wish to run the cron job. Hour — Use this menu to select the number of hours between each time the cron job runs, or the hour of each day on which you wish to run the cron job. Day — Use this menu to select the number of days between each time the cron job runs, or the day of the month on which you wish to run the cron job. Month — Use this menu to select the number of months between each time the cron job runs, or the month of the year in which you wish to run the cron job. Weekday — Use this menu to select the days of the week on which you wish to run the cron job.
  2. In the Command text box, enter the command that you wish the system to run.
    • Specify the absolute path to the command that you wish to run. For example, if you wish to run the public_html/index.php file in your home directory, enter the following command:
      /home/user/public_html/index.php
    • To disable notifications for a specific cron job, add the following line to the command:
      >/dev/null 2>&1
  3. Click Add New Cron Job

View existing cron jobs.
The Current Cron Jobs table displays your existing cron jobs.

Edit a cron job

To edit a cron job, perform the following steps:

  1. Locate the cron job that you wish to edit and click Edit.
  2. Edit the settings that you wish to change and click Edit Line.

Delete a cron job

To delete a cron job, perform the following steps:

  1. Click Delete next to the cron job that you wish to delete.
  2. Click Delete.
XsoftHost Support

Share

Recent Posts

Add Extra IP addresses to server configuration On Ubuntu 17.10 and later

Each failover IP address will need its own line in the configuration file. The configuration…

3 years ago

Create RAID Arrays with mdadm on Ubuntu

What is mdadm? The mdadm utility can be used to create and manage storage arrays…

4 years ago

How to change the maximum upload file size for PHP

There are several scenarios that you might need to increase or decrease your php maximum…

6 years ago

How to install Let’s Encrypt Plugin in WHM/cPanel

What is Let’s Encrypt? Let’s Encrypt is a free certificate authority provided by the Internet…

6 years ago

How to install python in my cPanel and add py extension

Python normally installed on all cPanel hosting server because most of Centos/red hat update system…

6 years ago

How to install and enable GUI GNOME Desktop on centos 7

Usually CentOS 7 comes in a numbers of variants, For most users, there are two…

6 years ago