Cronjob Manager

The information in this article is related to konsoleH.
If you are using our new Control Panel, refer to this article.

Make the switch and discover a simpler, more secure way to manage your hosting.

The konsoleH Cronjob Manager makes it possible for customers to execute commands or scripts automatically at set intervals. These scheduled scripts or commands are known as cronjobs. The Cronjob Manager allows you to create, edit and delete cronjobs for your xneelo hosted domain.

Create a Cronjob

  1. Browse to konsoleH and log in at Admin or Domain level
  2. If Admin level: Select or search for a domain name in the Hosting Services tab
  3. Select Manage Services from the left-hand menu
  4. Select Cronjob Manager
  5. Select Add
  6. Next to Name you may give your cronjob a name.
  7. Next to Job’you may enter the script or command that you would like to execute automatically. Please see below for examples.
  8. The Status option allows you to either have the cronjob Enabled or Disabled.
  9. Under When to execute, set the time(s) when the cronjob needs to execute.
  10. Select Save.

Correct Job syntax to use:

1. To execute a PHP script, you have the following different options depending on the location of your PHP script:

  • Script in home folder: /usr/bin/php-wrapper /usr/home/your-FTP-user/path/to/script.php
  • Script in public_html folder: /usr/bin/php-wrapper /usr/www/users/your-FTP-user/path/to/script.php
  • Script in public_ssl folder: /usr/bin/php-wrapper /usr/wwws/users/your-FTP-user/path/to/script.php

2. To execute a script via a web address (URL), you may use the following:

  • lynx -dump http://your-domain.com/path/to/your/script

3. To execute a bash script, you have the following different options depending on the location of your bash script:

  • Script in home folder: /bin/bash /usr/home/your-FTP-user/path/to/your/script.sh
  • Script in public_html folder: /bin/bash /usr/www/users/your-FTP-user/path/to/your/script.sh
  • Script in public_ssl folder: /bin/bash /usr/wwws/users/your-FTP-user/path/to/your/script.sh

Delete a Cronjob

  1. Select the cronjob by ticking the checkbox next to the cronjob that you wish to delete.
  2. Select Delete at the top right hand side.
  3. Confirm that you wish to delete the cronjob by selecting Yes.

The email address to which cronjob success or failure notifications are sent, can be changed by following the below steps:

  1. Next to the Send email notification to field, enter in the required email address.
  2. Select Update

Other functions within the Cronjob Manager

  • To manually run a cronjob, select Run under Action on the right hand side of the cronjob you wish to run.
  • To edit an existing cronjob, select Edit under Action on the right hand side of the cronjob you wish to edit.
  • If you are an advanced user, familiar with creating cronjobs within crontab, you may manually add your cronjob(s) within the Advanced View of the Cronjob Manager.

Limitations within the Cronjob Manager

  • A maximum of 10 cronjobs are allowed.
  • Cronjobs may not run more than once every two hours.
  • Processes initiated from cronjobs will be cancelled automatically, should they use more system resources than permitted.