• cPanel – Cron Jobs/Scheduled tasks

    cPanel – Cron Jobs/Scheduled tasks

    Cpanel -> Advanced->Cron Jobs-> As an example for using this feature, we will run a php script (test.php) which sends an e-mail to a predefined e-mail address. In the command line enter: /usr/bin/php -q /home/cpanelusername/public_html/test.php As per the above settings, the command to run the test.php script will be executed every five minutes. Make sure to repalce cpanelusername with your own username.

     
  • Setting up the server hostname in cPanel/WHM

    Setting up the server hostname in cPanel/WHM

    From the WHM main panel click on “Change Hostname” and enter the desired value in the “New Hostname” field:   The server hostname has to use a registered domain name and has to point to your server IP address.