ADVANCED:

 
Cron jobs
Password protecting directories
Custom error pages

Cron Jobs

Cron jobs allow you to automate repetitive tasks on the server that hosts your web site. This is a powerful tool that allows you to take a hands-free approach to repetitive tasks. For example, you could add a cron job that automatically copies a MySQL database to a separate location on your site as a backup.

There are two different modes you can use to add a cron job:

Standard - Provides a range of pre-set options that you can choose. This is the simplest method and is recommended.

Advanced (Unix Style) - Provides the regular Unix style cron options. Recommended for users who are used to this method of entering cron entries.

Warning: You need to have a good knowledge of Linux commands before you can use cron jobs effectively. Check your script with your hosting administrator before adding a cron job.

To add or modify a cron job Click on the Cron jobs button on the home page.

If you want to use the Standard mode, click on the Standard button, for advanced click on Advanced (Unix Style) button.

For standard:

  1. Enter the e-mail address to send the results of running the cron job in the top field.
  2. Enter the command the you want to run in the Command to run field.
  3. Click on one option from each of the available lists.
  4. Click on the Save Crontab button.

For advanced:

  1. Enter the times for the cron job in the Minute, Hour, Day, Month, or Weekday fields. Refer to the following page to check exactly how to enter values in these fields - http://www.redhat.com/support/resources/tips/cron/cron.html.
  2. Enter the cron job script in the Command field.
  3. Click on the Commit Changes button.

Your cron job has now been added or updated.

Note: You can always click on the Reset Changes button to change the cron job back to whatever it was before you started entering information.
     

Password Protecting Directories

You can protect directories within your site from browsers by using a password to protect them. This allows you to restrict material to only authorized users or store sensitive material online. This has the same appearance and effect as the password protection on CPanel.

To password protect a directory:

  1. Click on the Password protect directories button on the home page.
  2. Navigate to the directory that you want to protect.
  3. Select a folder by clicking on the folder name link, or open a folder by clicking on the folder icon.
  4. Click on the tick box next to the icon.
  5. Enter the name that you want to appear in the Protected Resource Name field. This is optional and purely for the user's benefit.
  6. Click on the Save button.

You can control who can access protected directories by adding authorized users. Generally, at least one authorized user needs to be added, otherwise no-one will not be able to view the directory. To add or modify an authorized user:

  1. Click on the Password protect directories button on the home page.
  2. Navigate to the required directory. Select a folder by clicking on the folder name link. Open a folder by clicking on the folder icon.
  3. Enter the user's name in the Username field, and their password in the Password field.
  4. Click on the Add New User button.

 

Custom Error Pages

Error pages are displayed to Internet users when any one of a variety of errors occur, such as when a user enters an incorrect URL or is not authorized to access a specific directory in your web site. Companies often customize error pages to brand them with a specific corporate image and a link to their home page. You do not have to customize these pages - the error page is always available, whether customized or not.

Note: Custom error pages that are smaller than 10k in size will not display properly in Internet Explorer. Insert a large amount of text into a comment to create the required size.

To create or modify a customized error page:

  1. Click on the Error pages button on the home page.
  2. Click on the button of the required error page, such as the 403 button.
  3. Enter the HTML code for the error page. You can use the buttons at the top of the page to insert variables into the displayed code
  4. Click on the Save button.

 




Top

 
Terms of Service | Privacy Policy
All images, logos and trademarks in this site are property of their respective owners.
Copyright © 2003 TTT Creative Technologies