InMotion Hosting Support Center
This is archived and no longer maintained. Any information contained in this article may be out of date.

A cron job is a script that is set to run at a particular time or interval. Drupal8 has a cron that can run and perform various things regarding your Drupal 8 installation. These include checking for updates for the core and modules as well as maintenance tasks such as clearing logs.

By default, the cron task is set to not run, but you can certainly set it to run either at a scheduled time or even run it manually whenever you wish. The cron can be resource intensive on the webserver so it is not a good idea to run it too often. Below are the instructions on how to set your cron intervals as well as run the cron manually, if needed.

In this tutorial:

How to run Cron jobs in Drupal 8

Setting the cron interval

  1. Log into your administration dashboard.
  2. Click the Menu tab option from the upper menu bar.
  3. Next, click on the Configuration tab from the second menu bar.
  4. This brings up the Configuration screen. From here, find the Systems category and click on the Cron option.
  5. From the Cron page, locate the Cron Frequency dropdown and select your desired interval. It is recommended not to use a frequency of less than 12 hours as the cron can cause higher resource usage on your server as it runs. Limiting this to once or twice a day maximum will help maintain optimum server health.
  6. Once you have selected your interval, click on the Save button to finish up. Your cron will now run on the selected interval.

Running the cron manually

  1. Log into the admin interface.
  2. Using the upper menu bar, click on the Menu option, then click on the Configuration option from the secondary menu bar.
  3. You are brought to the Configuration screen. Look for the Systems category and then click on the Cron option.
  4. Now that you are on the Cron page, simply select the Run Cron button to run the cron function manually.

Related Questions

Here are a few questions related to this article that our customers have asked:
Ooops! It looks like there are no questions about this page.
Would you like to ask a question about this page? If so, click the button below!
Ask a Question

Support Center Login

Our Login page has moved, Click the button below to be taken to the login page.

Post a Comment

Email Address:
Phone Number:

Please note: Your name and comment will be displayed, but we will not show your email address.

0 Questions & Comments

Post a comment

Back to first comment | top

Need more Help?


Ask the Community!

Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.

Current Customers

Chat: Click to Chat Now E-mail:
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!