Cronjobs

Here, you will learn how to easily setup cronjobs for Komento.

CPanel CronjobsCronjobs 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.### ConfigurationSetting 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.CpanelNext, you'll be presented with the following screen. You'll need to enter the following configuration to setting up the cronjob.CpanelThe 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.