Skip to main content

Documentation

IMPORTANT

This is the outdated SI-documentation which will be adapted soon. A huge part may be obsolete!

Hostgator Cronjobs

HostGator Cronjobs

Cronjobs are scheduled task that runs at a intervals or pre-defined times on the server. The purpose of cronjob is to execute series of simple repetitive tasks from a script file provided by the user. This cronjob can be configured through cPanel as the user interface is provided to ease the configuration process.

Setting Up Cronjob

First and foremost, you will need to have administrator access to your site's cPanel. Once you're logged in, search for Cronjob icon and click on the icon, highlighted in the following screenshot.

Accessing cpanel

Specify Email

Specify an email address at the cronjob email section to receive notification or status messages whenever your cronjobs are executed.

Setup Email

Configuring Cronjobs

There are several steps allocated under this section. You will need to follow the provided steps carefully so that your site's cronjob will be working correctly.

  1. Seting Up Cronjob Interval.
    To setting up cronjob, you'll need to configure the interval at which second do you wish to run the cronjob.

    Crojobs Interval

    • Minutes
      Use this menu to select the number of minutes between running the cronjob or the minute of each hour for which you wish to run the cronjobs.
    • Hour
      Use this menu to select the number of hours between running the cron job, or the hour each day on which you wish to run the cron job.
    • Day
      Use this menu to select the number of days between running the cron job, 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 running the cron job, or the month of the year in which you wish to run the cron *
    • Weekday
      Use this menu to select the day(s) of the week on which you wish to run the cron job.
  2. Setting Up Cronjob Command.
    In the command field, you'll need to add the correct command for cronjob to run properly.

    /bin/wget -O /dev/null "http://yoursite.com/index.php?option=com_easysocial&cron=1"
    
  3. Store Cronjobs
    Once you've finished configuring the cronjob, you'll need to click on Save Crontab button and you're ready to test your cronjob on your site.

    Cronjobs

We use cookies
We use cookies on our website. Some of them are essential for the operation of the site, while others help us to improve this site and the user experience. You can decide whether you want to allow cookies or not. Please note that if you reject them, you may not be able to use all the functionalities of the site.