Warning: session_start(): open(/var/cpanel/php/sessions/alt-php74/sess_d102cc9e943e093456cdf8b301354f16, O_RDWR) failed: No such file or directory (2) in /home/xsofthost/public_html/help/wp-content/plugins/accelerated-mobile-pages/includes/redirect.php on line 358

Warning: session_start(): Failed to read session data: files (path: /var/cpanel/php/sessions/alt-php74) in /home/xsofthost/public_html/help/wp-content/plugins/accelerated-mobile-pages/includes/redirect.php on line 358
How to Create cPanel Cron Jobs - XsoftHost

How to Create cPanel Cron Jobs


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

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)

Add Edit Delete Job Cron

  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

 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.
Share on facebook
Share on twitter
Share on linkedin
Share on telegram
Share on whatsapp

Related Posts