Cronjobs

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

DirectAdmin 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 with DirectAdmin is quite easy. All you'll need to do is to login to your DirectAdmin account and click on the cronjob link as shown in the screenshot below.Directadmin Next, you'll be presented with the following screen. You'll need to enter the following configuration to setting up cronjob.Directadmin 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 minutesHour - Enter the interval for minute. The example above uses * which means the script is executed every hourDay of Month - Enter the interval for minute. The example above uses * which means the script is executed every dayMonth - Enter the interval for minute. The example above uses * which means the script is executed every monthDay of Week - Enter the interval for minute. The example above uses * which means the script is executed every weekCommand - In the example above, we are running the following command:/bin/wget -O /dev/null "http://stackideas.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.