Advertising sustains the DA. Ads are hidden for members. Join today

Configuring scheduled publication

Last updated on
22 September 2022

This documentation needs work. See "Help improve this page" in the sidebar.

The scheduler module allows content to be published and unpublished on specified dates and times.

Screencast

If you want a quick introduction to Scheduler, check out Drupal 8 Scheduler module by Rod Martin of OSTraining

Installation    

  1. Grant users the permission "Schedule content publication" so they can set when the nodes they create are to be (un)published.
  2. You can also set the date/time format to be used in Administer -> Site configuration -> Content Authoring -> Scheduler
  3. Under Administer -> Structure -> Content types, each node type form provides checkboxes enable scheduled publishing and publishing
  4. Checking that displays additional options, such as changing the content creation time to match the scheduled publish time

Usage

For content types with scheduling enabled, the node edit form has an extra "Scheduling options" fieldset. In this you will find:

Publish on

Enter the date that you would like the posting to be published. Leave this blank to disable automatic scheduled publishing. This is useful if you would like to make a posting published immediately but then unpublished at a later date.

Unpublish on

Enter the date that you would like the posting to be unpublished. Leave this blank if you do not want the posting to be automatically unpublished.

Notes

  1. Scheduled automated publish and unpublish functions occur via the cron system so the actual, real world, publication times will be aligned to when your cron system runs. For example, if you enter a published time of 3:45pm but cron only runs once an hour on the hour then the real publish time will be 4:00pm and not 3:45pm.
  2. The creation time of the node will be set to the scheduled publication time if you enable "Alter published on time" in the content-type settings.

Help improve this page

Page status: Needs work

You can: