get entries randomly every minutes? I want to get entries randomly every minutes like setTimeout in javascript. Like below If possible. 

            setTimeout({ {% for entry in craft.entries.section('alumni').order('RAND()').limit(6).find() %}
            &lt;a class="main-home-list-item" href="#"&gt;
                &lt;div class="main-home-list-item__body"&gt;
                    {% set asset = entry.profileImage.first() %} {% if asset | length %}
                    &lt;div class="img-container"&gt;
                        &lt;img src="{{asset.getUrl()}}" alt="{{asset.title}}" /&gt;
                    &lt;/div&gt;
                    {% else %}
                    &lt;div class="img-container"&gt;
                        &lt;img src="assets/avatar.png" /&gt;
                    &lt;/div&gt;
                    {% endif %}
                    &lt;h4&gt;
                                {{ entry.title }} {{ entry.lastName }}
                            &lt;/h4&gt;
                    &lt;p class="small"&gt;
                        {{entry.graduateYear}}
                    &lt;/p&gt;
                &lt;/div&gt;
            &lt;/a&gt;
            {% endfor %} }, 1000);
See below for some twig code to get you started, I omitted the actual HTML output for the individual items to better keep the overview. 

Whats happening is, you get all (or a reasonable big amount amount) of your entries, and start looping over them. 

The first time, you open a div that will contain 6 items. Afterwards, each time the loop index can be divised by 6 (aka, 6 more items have been looped over) you close the container div &amp; open a new one. 

Than finally after the last iteration, you close the container div again. 

Making the 6 items hide or display you can do with Javascript. Let me know if you need extra pointers on that. 

{% for entry in craft.entries.section('alumni').order('RAND()')}
    {% if loop.first %}
        &lt;div class="container-for-6-items"&gt;
    {% endif %}

    {# Build item output here #}

    {% if loop.index is divisible by(6) %}
        &lt;/div&gt;
        &lt;div class="container-for-6-items"&gt;
    {% endif %}

    {% if loop.last %}
        &lt;/div&gt;
    {% endif %}
{% endfor %}


Info on divisible by