How does konsoleH’s Cronjob Manager work? Print
Submit Cancel
Email this article

Close

You are here: Home > Website Support > Cronjobs

The konsoleH Cronjob Manager makes it possible for clients to set-up commands that will run automatically at set intervals. The tool’s intuitive web interface allows you to manage your crontab file, enabling you to create, edit and remove cronjobs.

Access Cronjob Manager via konsoleH:

  1. Browse to konsoleH (http://myaccount.hetzner.co.za)
  2. Login with your Client number and Management password
  3. Select or search for a domain name in the ‘Hosting Service’ tab
  4. Select ‘Manage Services’ from the left-hand menu
  5. Select ‘Cronjob Manager’

Cronjob Manager controls:

  1. To add a Cronjob, select ‘Add’ at the top-right
  2. To delete a Cronjob, select the Cronjob by placing a tick in the checkbox next to the Cronjob, and then select ‘Delete’ at the top-right
  3. To edit Cronjobs in the “Crontab editor” format, select ‘Advanced View’ at the top-right
  4. To view the Cron log for current Cronjobs, select ‘View Log’ at the top-right

When setting up a Cronjob, the file paths for different types of scripts differ. 

To run a PHP script, use the following:

/usr/bin/php <full path to filename

To run a bash script, use the following:

/bin/bash <full path to filename

I.e The full path to the script to be executed should be included in the Cronjob command.  Below are examples of Commands to execute in the correct format:

  To run a PHP script:

/usr/bin/php /usr/home/FTP_USERNAME/cron.php 

  To run a bash script:

/bin/bash /usr/home/FTP_USERNAME/cron.sh 

Note: Please ensure to replace ‘FTP_USERNAME’ with the relevant FTP user name for your domain.

Cronjob Manager limitations:

  1. A maximum of 10 cronjobs are allowed
  2. Cronjobs may not run more than once every two hours
  3. Processes initiated from Cronjobs will be terminated automatically should they use more system resources than is permitted

Cronjobs can also be edited directly on the hosting server by advanced users on a per-domain bases using SSH
This can be done by running the command below, once logged in:

crontab -

Please see below for more information on the “crontab” and the layout used in adding entries as a cron job:
http://crontab.org/

Was this information helpful?

Yes No

Thank you for your feedback
We are delighted to find that our article resolved your query.

Thank you for your feedback
We will resolve your query as soon as possible.

Please take a few moments to comment on your unresolved query. Simply tell us what your problem is. We guarantee that we'll get back to you within two hours (during office hours) in response to your query.


  Partially resolved    Unresolved
Enter your query here:
Your name:
Your email address:
Contact number:
Customer number or domain name:
 
Preferred contact method: Email     Call me
Please enter the text in the picture below into the text box:
CAPTCHA Image:
ID Number:
 
  • Hosting for Beginners

    Step-by-step guide to hosting with Hetzner.

    VIEW NOW
  • Application Tutorials

    Use our installation guides to get up and running.

    VIEW NOW
  • Login Now

    Our award winning proprietary control panel empowers customers to manage their hosting environment.

    Take the Tour
  • Contact Us

    support@hetzner.co.za

    Phone: 0861-0861-08
    Fax: 0861 0861-09
    Contact Us