Zum Hauptinhalt springen

Documentation

IMPORTANT

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

Setting Up Cronjobs In Cpanel

Cronjobs is a schedule command/task that is executed on your server to run automatically at a specified time and date. A cronjob is a schedule task itself and it is very useful to automate repetitive tasks. For example, it allows email processing to run independently while not interfering with site operations. It is recommended in Komento to use cronjobs to parse emails as well as sending out notifications.

Configuration

Setting up cronjobs in cPanel is relatively easy. All you'll need to do is to login to your cPanel account and access dashboard. Locate and click cronjobs icon as shown in the screenshot below.

Cpanel

Next, you'll be presented with the following screen. You'll need to enter the following configuration to setting up the cronjob.

Cpanel

The settings displayed above are broken down into the following.

Minute - Enter the interval for minute. The example above uses */5 which means the script is executed every 5 minutes.
Hour - Enter the interval for minute. The example above uses * which means the script is executed every hour.
Day - Enter the interval for minute. The example above uses * which means the script is executed every day.
Month - Enter the interval for minute. The example above uses * which means the script is executed every month.
Weekday - Enter the interval for minute. The example above uses * which means the script is executed every week.
Command - In the example above, we are running the following command:

/bin/wget -O /dev/null "http://yousite.com/index.php?option=com_komento&task=cron"

You'll need to get the correct wget path and replace the domain name above with your site's domain. Every webhosting might have a different /bin/wget. Please consult with your webhosting for further explanation.

Wir benutzen Cookies
Wir nutzen Cookies auf unserer Website. Einige von ihnen sind essenziell für den Betrieb der Seite, während andere uns helfen, diese Website und die Nutzererfahrung zu verbessern. Du kannst selbst enscheiden, ob du Cookies zulassen möchtest. Bitte beachte, dass bei Ablehnung womöglich nicht mehr alle Funktionalitäten zur Verfügung stehen.