EasyDiscuss 4.0.19

Cronjobs

Cronjobs are one of the important feature that must be set properly by the site's administrator. Here, we share with you how to set cronjobs for our product.

DirectAdmin Cronjob Setup

Cronjobs allows email processing to run at the back end while not interfering with the site operations. In EasyBlog, cronjob is required to fetch emails, send emails, retrieve new tweets as blog and even import feeds remotely.


Step 1 - Accessing Directadmin

Setting up cronjob in DirectAdmin is really simple. All you need to do is to login to your DirectAdmin account and click on the Cronjobs link as shown below.

Direct Admin Cronjobs

Step 2 - Creating the cronjob

Upon clicking on the cronjob icon, you will be presented with the following screen. You will need to enter the following,

Direct Admin Cronjobs

The settings 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 of Month
    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

  • Day of Week
    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://stackideas.com/index.php?option=com_easyblog&task=cron"
    

    You will need to get the correct wget path and replace the domain name above with your site's domain. Every hosting has a different /bin/wget. Please consult with your hosting provider for further explanation.